All Projects → shoenig → envy

shoenig / envy

Licence: MIT License
Use envy to manage environment variables with your OS keychain

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to envy

ngx-env
Easily inject environment variables into your Angular applications
Stars: ✭ 73 (+217.39%)
Mutual labels:  environment, environment-variables, variables
envy
envy: Deserialize environment variables into type-safe structs
Stars: ✭ 64 (+178.26%)
Mutual labels:  environment-variables, envy
privnote-cli
🔑 the power of privnote.com in your terminal
Stars: ✭ 43 (+86.96%)
Mutual labels:  passwords, secrets-management
envmnt
Environment variables utility functions.
Stars: ✭ 16 (-30.43%)
Mutual labels:  environment, environment-variables
envkey-python
EnvKey's python library. Protect API keys and credentials. Keep configuration in sync.
Stars: ✭ 24 (+4.35%)
Mutual labels:  secrets, environment-variables
environment-variables
🌳 Provides an abstraction of environment variables.
Stars: ✭ 33 (+43.48%)
Mutual labels:  environment, variables
cli
The official CLI for interacting with your Doppler secrets and configuration.
Stars: ✭ 96 (+317.39%)
Mutual labels:  secrets, secrets-management
ink
A Logger backend that logs JSON
Stars: ✭ 64 (+178.26%)
Mutual labels:  secrets, passwords
angular-environment
AngularJS Environment Plugin
Stars: ✭ 78 (+239.13%)
Mutual labels:  environment, environment-variables
gatsby-plugin-dynamic-routes
Creating dynamic routes based on your environment and/or renaming existing routes
Stars: ✭ 14 (-39.13%)
Mutual labels:  environment, environment-variables
awssecret2env
Convert secrets stored in AWS Secrets Manager to environment variables
Stars: ✭ 44 (+91.3%)
Mutual labels:  environment-variables, secrets-management
acre
Lightweight configurable environment management in Python
Stars: ✭ 20 (-13.04%)
Mutual labels:  environment, environment-variables
exenv
Exenv makes loading environment variables from external sources easy.
Stars: ✭ 35 (+52.17%)
Mutual labels:  secrets, environment-variables
gconfigs
gConfigs - Config and Secret parser
Stars: ✭ 42 (+82.61%)
Mutual labels:  secrets, environment-variables
dart environment config
Environment specific config generator for Dart and Flutter applications during CI/CD builds
Stars: ✭ 87 (+278.26%)
Mutual labels:  environment, environment-variables
pyaml env
Parse YAML configuration with environment variables in Python
Stars: ✭ 36 (+56.52%)
Mutual labels:  secrets, environment-variables
DBEnvironmentConfiguration
Easily switch between iOS development environments/ configurations
Stars: ✭ 18 (-21.74%)
Mutual labels:  environment, environment-variables
rune
tool to query for tokens and passwords for use as environment variables
Stars: ✭ 13 (-43.48%)
Mutual labels:  environment, environment-variables
ts-dotenv
Strongly-typed environment variables for Node.js
Stars: ✭ 18 (-21.74%)
Mutual labels:  environment, environment-variables
sicher
Sicher is a go module that allows secure storage of encrypted credentials in a version control system.
Stars: ✭ 27 (+17.39%)
Mutual labels:  environment-variables, secrets-management

envy

Use envy to manage sensitive environment variables when running commands.

Go Report Card Build Status GoDoc NetflixOSS Lifecycle GitHub

Project Overview

gophers.dev/cmds/envy provides a command-line utility for managing secretive environment variables when running commands.

envy builds on ideas from envchain and schain. It makes use of the go-keyring library for multi-platform keyring management. Encryption is based on Go's built-in crypto/aes library. Persistent storage is managed through boltdb.

Supports Linux, macOS, and Windows

Getting Started

Build from source

The envy command can be compiled by running

$ go install gophers.dev/cmds/envy@latest

Example Usages

usage overview

Subcommands for envy:
	exec             Run command with environment variables from namespace.
	list             List all namespaces.
	purge            Purge a namespace.
	set              Set environment variable(s) for namespace.
	show             Show environment variable(s) in namespace.
	update           Add or Update environment variable(s) in namespace.

set a namespace

$ envy set example a=foo b=bar c=baz
stored 3 items in "example"

execute command

$ envy exec example hack/test.sh
a: is foo, b is: bar

list namespaces

$ envy list
consul/connect-acls:no_tls
example
nomad/e2e
test

show namespace

$ envy show test
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY

show namespace w/ values

$ envy show --decrypt test
AWS_ACCESS_KEY_ID=aaabbbccc
AWS_SECRET_ACCESS_KEY=233kjsdf309jfsd

update variable in namespace

$ envy update test AWS_ACCESS_KEY_ID=xxxxyyyyzzz
updated 1 items in "test"

remove namespace

$ envy purge test
purged namespace "test"

Contributing

The gophers.dev/cmds/envy module is always improving with new features and error corrections. For contributing bug fixes and new features please file an issue.

LICENSE

The gophers.dev/cmds/envy module is open source under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].