KeyVault manages all your secrets so they don't have to live in the repo.
Currently only works with Rails 3+.
Add this line to your application's Gemfile:
gem 'key-vault', require: 'key_vault'
And then execute:
Or install it yourself as:
$ gem install key-vault
Simply put all secrets that shouldn't be checked into your repo into
in your rails app. Then use
it. For example, with a file that contains
you can use
AppName::Application.config.secret_token = KeyVault[:session_secret]
to set your session secret token.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request