Skip to content

pandora2000/secros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION

Secros enables you to manage your secret values in one place.

USAGE

Make secrets

STEP 1. Install secros

gem install secros

STEP 2. Generate template

secros your-generate-path

STEP 3. Add secrets to secrets.yml

values:
  aws_secret_key: aws_secret_key_value
files:
  ssh_identity: id_rsa

Access secrets

STEP 1. Add secros to Gemfile

gem 'secros'

also gem install secros and require 'secros' works.

STEP 2. Access secrets via key

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"

About

Ruby gem for managing your secrets.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages