mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
7a8728a039
To edit/show encrypted file: ``` bin/rails encrypted:edit config/staging_tokens.yml.enc bin/rails encrypted:edit config/staging_tokens.yml.enc --key config/staging.key bin/rails encrypted:show config/staging_tokens.yml.enc ``` Also provides a backing Rails.application.encrypted API for Ruby access: ```ruby Rails.application.encrypted("config/staging_tokens.yml.enc").read Rails.application.encrypted("config/staging_tokens.yml.enc").config Rails.application.encrypted("config/staging_tokens.yml.enc", key: "config/staging.key") ``` |
||
---|---|---|
.. | ||
application | ||
console | ||
credentials | ||
dbconsole | ||
destroy | ||
encrypted | ||
generate | ||
help | ||
new | ||
plugin | ||
rake | ||
runner | ||
secrets | ||
server | ||
test | ||
version |