File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -271,22 +271,11 @@ manually store this file somewhere and deploy it. There are 2 ways to do that:
271
271
272
272
.. code-block :: terminal
273
273
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
275
275
276
276
This will write all the decrypted secrets into the ``.env.prod.local `` file.
277
277
After doing this, the decryption key does *not * need to remain on the server(s).
278
278
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
-
290
279
Rotating Secrets
291
280
----------------
292
281
You can’t perform that action at this time.
0 commit comments