@@ -70,15 +70,15 @@ This will generate ``config/secrets/prod/prod.encrypt.public.php`` and
70
70
Create or Update Secrets
71
71
------------------------
72
72
73
- Suppose you want to store your database password a secret. By using the
73
+ Suppose you want to store your database password as a secret. By using the
74
74
``secrets:set `` command, you should add this secret to both the ``dev `` *and *
75
75
``prod `` vaults:
76
76
77
77
.. code-block :: terminal
78
78
79
- # the input is hidden as you type for security
79
+ # the input is hidden as you type for security reason
80
80
81
- # set your a default development value (can be overridden locally)
81
+ # set your development value (default, can be overridden locally)
82
82
$ php bin/console secrets:set DATABASE_PASSWORD
83
83
84
84
# set your production value
@@ -106,7 +106,7 @@ Secret values can be referenced in the same way as
106
106
accidentally define a secret *and * an environment variable with the same name:
107
107
**environment variables override secrets **.
108
108
109
- If you stored a ``DATABASE_PASSWORD `` secret, you can reference by:
109
+ If you stored a ``DATABASE_PASSWORD `` secret, you can reference it by:
110
110
111
111
.. configuration-block ::
112
112
@@ -260,7 +260,7 @@ your secrets during deployment to the "local" vault:
260
260
$ php bin/console secrets:decrypt-to-local --force --env=prod
261
261
262
262
This will write all the decrypted secrets into the ``.env.prod.local `` file.
263
- After doing this, the decryption key does *not * need to remain on the server.
263
+ After doing this, the decryption key does *not * need to remain on the server(s) .
264
264
265
265
Rotating Secrets
266
266
----------------
0 commit comments