Skip to content

Commit 6e22157

Browse files
committed
feature #19487 Document secrets:reveal command (danielburger1337)
This PR was squashed before being merged into the 7.1 branch. Discussion ---------- Document `secrets:reveal` command Document the new `secrets:reveal` command. Docs Issue: #19481 Feature PR: symfony/symfony#53466 Commits ------- 22ad2d9 Document `secrets:reveal` command
2 parents 28e0912 + 22ad2d9 commit 6e22157

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

configuration/secrets.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,22 @@ secrets' values by passing the ``--reveal`` option:
166166
DATABASE_PASSWORD "my secret"
167167
------------------- ------------ -------------
168168
169+
Reveal Existing Secrets
170+
-----------------------
171+
172+
If you have the **decryption key**, the ``secrets:reveal`` command allows
173+
you to reveal a single secrets value.
174+
175+
.. code-block:: terminal
176+
177+
$ php bin/console secrets:reveal DATABASE_PASSWORD
178+
179+
my secret
180+
181+
.. versionadded:: 7.1
182+
183+
The ``secrets:reveal`` command was introduced in Symfony 7.1.
184+
169185
Remove Secrets
170186
--------------
171187

0 commit comments

Comments
 (0)