Skip to content

Commit 379b80d

Browse files
94nonijaviereguiluz
authored andcommitted
Update secrets.rst
1 parent b162846 commit 379b80d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

configuration/secrets.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ This will generate ``config/secrets/prod/prod.encrypt.public.php`` and
7070
Create or Update Secrets
7171
------------------------
7272

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
7474
``secrets:set`` command, you should add this secret to both the ``dev`` *and*
7575
``prod`` vaults:
7676

7777
.. code-block:: terminal
7878
79-
# the input is hidden as you type for security
79+
# the input is hidden as you type for security reason
8080
81-
# set your a default development value (can be overridden locally)
81+
# set your development value (default, can be overridden locally)
8282
$ php bin/console secrets:set DATABASE_PASSWORD
8383
8484
# set your production value
@@ -106,7 +106,7 @@ Secret values can be referenced in the same way as
106106
accidentally define a secret *and* an environment variable with the same name:
107107
**environment variables override secrets**.
108108

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:
110110

111111
.. configuration-block::
112112

@@ -260,7 +260,7 @@ your secrets during deployment to the "local" vault:
260260
$ php bin/console secrets:decrypt-to-local --force --env=prod
261261
262262
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).
264264

265265
Rotating Secrets
266266
----------------

0 commit comments

Comments
 (0)