April 2018
Beginner to intermediate
444 pages
7h 35m
English
Deploying secret API keys or other secret configuration credentials to a production environment can become quite a hassle. You normally don’t want to commit them unencrypted to your repository, but you also want to share them with other developers. Rails 5.1 introduced the concept of secrets, but Rails 5.2 deprecated them and introduced the concept of credentials.
You still have to store one central encryption key on your server and on all development systems, but that’s it. All other secrets/credentials are encrypted with that key and can be stored safely in your code repository.
Credentials ...