mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Document read_encrypted_secrets config.
Mostly just that it's there. Closes #28193.
This commit is contained in:
parent
0c19d97939
commit
b16dcc872b
1 changed files with 8 additions and 0 deletions
|
@ -40,6 +40,14 @@ be encrypted.
|
|||
A `shared:` top level key is also supported such that any keys there is merged
|
||||
into the other environments.
|
||||
|
||||
Additionally, Rails won't read encrypted secrets out of the box even if you have
|
||||
the key. Add this:
|
||||
|
||||
config.read_encrypted_secrets = true
|
||||
|
||||
to the environment you'd like to read encrypted secrets. `bin/rails secrets:setup`
|
||||
inserts this into the production environment by default.
|
||||
|
||||
=== Editing Secrets
|
||||
|
||||
After `bin/rails secrets:setup`, run `bin/rails secrets:edit`.
|
||||
|
|
Loading…
Reference in a new issue