vdot 0.2.20

Create your .env files using Vault.
Documentation

vdot

Build Status

Create your .env files using Vault.

Installation

macOS and Linux

curl https://raw.githubusercontent.com/sjparkinson/vdot/master/scripts/gh-install.sh \
| sh -s -- --git sjparkinson/vdot

Cargo

You can install cargo from https://www.rust-lang.org/tools/install.

cargo install vdot

Usage

vdot

Create your .env files using Vault.

Usage:
  vdot <path>...
  vdot (-h | --help)
  vdot --version

Options:
  -h --help     Show this message.
  --version     Show the version of this program.

KV Secrets Engine Version 2

$ vault login
$ vault kv put secret/foo-bar ENV=production LOG_LEVEL=info
$ vault kv put secret/fizz-buzz LOG_LEVEL=debug
$ vdot secret/data/foo-bar secret/data/fizz-buzz
vdot: saved 2 environment variables to .env
$ cat .env
ENV=production
LOG_LEVEL=debug

KV Secrets Engine Version 1

$ vault login
$ vault kv put secret/foo-bar ENV=production LOG_LEVEL=info
$ vdot secret/foo-bar
vdot: saved 2 environment variables to .env
$ cat .env
ENV=production
LOG_LEVEL=info