Skip to content

Commit 62746a8

Browse files
committed
minor #16083 [FrameworkBundle] Document secret rename logic (noniagriconomie)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] Document secret rename logic Ref symfony/symfony#43941 Commits ------- 2e4647d [FrameworkBundle] Document secret rename logic
2 parents 01b5cfa + 2e4647d commit 62746a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configuration/secrets.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ in ``config/secrets/prod``. You can also set the secret in a few other ways:
9898
# or let Symfony generate a random value for you
9999
$ php bin/console secrets:set REMEMBER_ME --random
100100
101+
.. note::
102+
103+
If you need to rename a secret, you must create the new one and remove the old one.
104+
101105
Referencing Secrets in Configuration Files
102106
------------------------------------------
103107

0 commit comments

Comments
 (0)