Skip to content

Commit 5f2979d

Browse files
committed
minor #37 Document the special %generate(secret)% env var value (javiereguiluz)
This PR was squashed before being merged into the master branch (closes #37). Discussion ---------- Document the special %generate(secret)% env var value Some recipes are starting to use this feature (see https://github.com/symfony/recipes-contrib/pull/5/files) so let's document it. Commits ------- 8a103f4 Document the special %generate(secret)% env var value
2 parents 0bbc15d + 8a103f4 commit 5f2979d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ The ``###> your-recipe-name-here ###`` section separators are needed by Symfony
204204
to detect the contents added by this dependency in case you uninstall it later.
205205
Don't remove or modify these separators.
206206

207+
.. tip::
208+
209+
Use ``%generate(secret)%`` as the value of any environment variable to
210+
replace it with a cryptographically secure random value of 16 bytes.
211+
207212
``makefile`` Configurator
208213
~~~~~~~~~~~~~~~~~~~~~~~~~
209214

0 commit comments

Comments
 (0)