@kiwicom/vault2env
Utility to help us fetching ENV variables from Vault automatically.
Last updated a year ago by martin.zlamal .
MIT · Original npm · Tarball · package.json
$ cnpm install @kiwicom/vault2env 
SYNC missed versions from official npm registry.

vault2env-js

Build Status

vault2env let's you easily load env variables from your Vault instance and save them in .env file

Install

yarn add vault2env --dev

Usage

Basic usage:

vault2env --token=[vault-token] --addr=[vault-addr] --path=secret/path/to/envs

Vault token and address can be set also as env variables - just like with the vault command:

VAULT_TOKEN=[token] VAULT_ADDR=[addr] vault2env --path=secret/path/to/envs

List of CLI options

Option default required
token - yes Vault token
addr - yes Url address to Vault
path - yes Vault path to desired secrets
force false no Overwrite .env file if already exists

Current Tags

  • 1.0.5                                ...           latest (a year ago)

14 Versions

  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |