Skip to content

Commit ef8a4f7

Browse files
committed
minor #20058 drop the --exit option (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- drop the --exit option This basically reverts #20055 and fixes #20057. Commits ------- 8e1d67b drop the --exit option
2 parents 9710329 + 8e1d67b commit ef8a4f7

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

configuration/secrets.rst

+1-12
Original file line numberDiff line numberDiff line change
@@ -271,22 +271,11 @@ manually store this file somewhere and deploy it. There are 2 ways to do that:
271271

272272
.. code-block:: terminal
273273
274-
$ APP_RUNTIME_ENV=prod php bin/console secrets:decrypt-to-local --force --exit
274+
$ APP_RUNTIME_ENV=prod php bin/console secrets:decrypt-to-local --force
275275
276276
This will write all the decrypted secrets into the ``.env.prod.local`` file.
277277
After doing this, the decryption key does *not* need to remain on the server(s).
278278

279-
Note the usage of the ``--exit`` option: this ensures that all secrets are
280-
successfully decrypted. If any error occurs during the decryption process,
281-
the command will return a non-zero exit code, indicating a failure.
282-
283-
If you wish to continue regardless of errors occurring during decryption,
284-
you may omit this option.
285-
286-
.. versionadded:: 7.2
287-
288-
The ``--exit`` option was introduced in Symfony 7.2.
289-
290279
Rotating Secrets
291280
----------------
292281

0 commit comments

Comments
 (0)