Rails 6 adds support for Multi Environment credentials
03-Jul-2019 1700
This blog is part of our Rails 6 series. Rails 6.0.0.rc1 was recently released.In Rails 5.2, encrypted credentails are stored in the file config/credentials.yml.enc. This is a single flat file which is encrypted by the key located in config/master.key.Rails 5.2 does not support storing credentials of different environments with different encryption keys. If we want environment specific encrypted credentials, we’ll have to follow this workaround.Rails 6 has added support for Multi Environment credentials. With this change, credentials that belong to different environments can be stored in separate files with their own encryption key.
Rails 6 adds support for Multi Environment credentials #ruby #rubydeveloper #rubyonrails #Rails #support #Multi #Environment #credentials #credentials #environment https://rubyonrails.ba/link/rails-6-adds-support-for-multi-environment-credentials