Skip to content
/ evk Public

Keep your environment variables secure with OS X keychain.

Notifications You must be signed in to change notification settings

okdas/evk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

evk

evk (environment variable keychain) is a simple command line tool to help manage secret environment variables and store them in OS X Keychain.

Note: under development. Things may won't work until this line will be removed!

Inspired by mmfa and envchain (which is almost the same, but a little bit different way to work with tool).

Install

...

Quick Start

Bucket — a bunch of variables, useful for separating different environments with same secret environment variables (e.g. Prod and Dev AWS accounts). If bucket will not be specified, main bucket will be used to store and get data.

Add a variables

That is how you can add environment variable to main bucket:

$ evk add ENVIRONMENT_VARIABLE

You also can specify bucket:

$ evk add -b aws_production ENVIRONMENT_VARIABLE

Get secret environment variable

You can set variables from main bucket to your current shell session:

$ eval $(evk get)

You can also specify bucket to get environment variables from:

$ eval $(evk get -b aws_production)

TODO

  • Commands execution with EnVars overriding (e.g. evk run -b openstack_bucket -c "swift list")
  • Rewrite search with C instead of os.Exec (dependency go-keychain)

Contribute

  • Fork the project
  • Make your feature addition or bug fix (with tests and docs) in a topic branch
  • Send a pull request and I'll get it integrated

About

Keep your environment variables secure with OS X keychain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages