Rails 5.2: encrypted secrets
March 22, 2018
How we started to use Rails 5.2 Encrypted Secrets for securing Amazon S3 key pairs for use with Active Storage.
Here is a useful starting point: Rails Encrypted Credentials on Rails 5.2
Our development and production envionment is Linux, and we precompile our assets before deployment.
Part 1: Encrypt your secrets With Rails 5.2 a sort of ‘password safe’ is introduced, whereby you commit your encrypted secret credentials to source control, but not your master password.
...
Read more