Skip to content

Creates a .env file from vault secrets

License

Notifications You must be signed in to change notification settings

swarm-oc/vault-dotenv

Repository files navigation

vault-dotenv

All Contributors

semantic-release Codacy Badge Build Status Npm last version

Creates a .env file from vault secrets

Install

npm install -g vault-dotenv

Usage

Open a terminal and cd to a directory where you want to create the file

vault-dotenv -a http://127.0.0.1:8200 -t <token>
Usage: vault-dotenv [options]

Options:
	-a ADDRESS, --address ADDRESS        Vault server address, if no address is
                                            given tries to get the address from
                                            the env var VAULT_ADDR.
                                            Default: http://127.0.0.1
	-t TOKEN, --token TOKEN              Authentication token of Vault. if no address is
                                            given tries to get the address from
                                            the env var VAULT_TOKEN.
	-f, --force                          Override the current .env file

Contributors

Thanks goes to these wonderful people (emoji key):

Emmanuel Vazquez
Emmanuel Vazquez

🚧 👀 📖
Juan Ignacio Gipponi
Juan Ignacio Gipponi

💻 🚧 👀 🤔

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Creates a .env file from vault secrets

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •