vault-dotenv

1.0.2 • Public • Published

vault-dotenv

Creates a .env file from vault secrets

Travis semantic-release npm latest version npm latest version

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

Readme

Keywords

Package Sidebar

Install

npm i vault-dotenv

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

5.63 kB

Total Files

6

Last publish

Collaborators

  • maanuchi
  • beogip