Skip to content

Commit 2e4647d

Browse files
[FrameworkBundle] Document secret rename logic
1 parent 05c591e commit 2e4647d

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)