/secretsmanagerenv

Launch a process with environment variables from @AWS Secrets Manager

Primary LanguageGoGNU General Public License v3.0GPL-3.0

SecretsManagerEnv

SecretsManagerEnv (smenv) provides a convenient way to launch a processes with environment variables sourced from @AWS's Secrets Manager. Smenv is influenced by Vaultenv and Hashicorp's Envconsul.

Smenv is built around the concept of twelve factor apps.

Usage

smenv -s SECRET [-s SECRET]... [-r AWS_REGION] COMMAND

Example

smenv -s rails_secrets/prod -s hello_world_secret -r us-east-1 "rails s -b 0.0.0.0"