@@ -66,15 +66,15 @@ This will generate ``config/secrets/prod/prod.encrypt.public.php`` and
66
66
Create or Update Secrets
67
67
------------------------
68
68
69
- Suppose you want to store your database password a secret. By using the
69
+ Suppose you want to store your database password as a secret. By using the
70
70
``secrets:set `` command, you should add this secret to both the ``dev `` *and *
71
71
``prod `` vaults:
72
72
73
73
.. code-block :: terminal
74
74
75
- # the input is hidden as you type for security
75
+ # the input is hidden as you type for security reasons
76
76
77
- # set your a default development value (can be overridden locally)
77
+ # set your default development value (can be overridden locally)
78
78
$ php bin/console secrets:set DATABASE_PASSWORD
79
79
80
80
# set your production value
@@ -102,7 +102,7 @@ Secret values can be referenced in the same way as
102
102
accidentally define a secret *and * an environment variable with the same name:
103
103
**environment variables override secrets **.
104
104
105
- If you stored a ``DATABASE_PASSWORD `` secret, you can reference by:
105
+ If you stored a ``DATABASE_PASSWORD `` secret, you can reference it by:
106
106
107
107
.. configuration-block ::
108
108
@@ -234,7 +234,7 @@ manually store this file somewhere and deploy it. There are 2 ways to do that:
234
234
1) Uploading the file:
235
235
236
236
The first option is to copy the **production decryption key ** -
237
- ``config/secrets/prod/prod.decrypt.private.php `` to your server(s) .
237
+ ``config/secrets/prod/prod.decrypt.private.php `` to your server.
238
238
239
239
2) Using an Environment Variable
240
240
@@ -256,7 +256,7 @@ your secrets during deployment to the "local" vault:
256
256
$ php bin/console secrets:decrypt-to-local --force --env=prod
257
257
258
258
This will write all the decrypted secrets into the ``.env.prod.local `` file.
259
- After doing this, the decryption key does *not * need to remain on the server.
259
+ After doing this, the decryption key does *not * need to remain on the server(s) .
260
260
261
261
Rotating Secrets
262
262
----------------
0 commit comments