0.0
Low commit activity in last 3 years
No release in over a year
Shorter, env-scoped version of Rails' credentials
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 2.0
~> 12.3
~> 3.0

Runtime

> 5.2
 Project Readme

Build Status Gem version

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