Secros enables you to manage your secret values in one place.
gem install secros
secros your-generate-path
values:
aws_secret_key: aws_secret_key_value
files:
ssh_identity: id_rsa
gem 'secros'
also gem install secros
and require 'secros'
works.
Secros.new(your_generate_path).values[:aws_secret_key] # == 'aws_secret_key_value'
Secros.new(your_generate_path).files[:ssh_identity]) # == "#{your_generate_path}/files/id_rsa"