README
vault-dotenv
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