Skip to content

Commit 5fac3b3

Browse files
[FrameworkBundle] Leverage vault to store APP_SECRET env var
1 parent 425177e commit 5fac3b3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

symfony/framework-bundle/5.4/manifest.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
},
1010
"composer-scripts": {
1111
"cache:clear": "symfony-cmd",
12-
"assets:install %PUBLIC_DIR%": "symfony-cmd"
12+
"assets:install %PUBLIC_DIR%": "symfony-cmd",
13+
"secrets:generate-keys": "symfony-cmd",
14+
"secrets:set APP_SECRET --random": "symfony-cmd",
15+
"secrets:decrypt-to-local": "symfony-cmd"
1316
},
1417
"env": {
15-
"APP_ENV": "dev",
16-
"APP_SECRET": "%generate(secret)%"
18+
"APP_ENV": "dev"
1719
},
1820
"gitignore": [
1921
"/.env.local",

0 commit comments

Comments
 (0)