Creds
is both a) a shortcut for the dreadfully long Rails.application.credentials
and b) bringing environment scoping back (from when it was called secrets).
Usage
Given encrypted credentials looking like:
---
super_secret: 'shared between environments'
production:
super_secret: 'you can override defaults for individual environments'
You can access those super secret things like:
Creds.super_secret # => "shared between environments"
# or, of course, the other when in production
Installation
gem 'rails-creds'
That's it.
License
MIT