Home:ALL Converter>Handle Credentials in CircleCI - Rails App

Handle Credentials in CircleCI - Rails App

Ask Time:2018-02-23T02:52:40         Author:darkcode

Json Formatter

The Rails Team introduced a new way to handle secrets in the application using a new concept called credentials (http://weblog.rubyonrails.org/2017/9/23/this-week-in-rails-new-credentials-configuration-bugfixes-and-more/).

To encrypt and decrypt the credentials files you need the master.key file. I'm running my test suite using CircleCI but the master.key is not available in the github repository and therefore CircleCI can not build the application correctly.

What is the best way to handle this situations in CircleCI?

Author:darkcode,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48935168/handle-credentials-in-circleci-rails-app
yy