1
0
Fork 0
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:
Kasper Timm Hansen 2017-03-09 20:19:58 +01:00
parent 0c19d97939
commit b16dcc872b

View file

@ -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`.