vdot
Create your .env
files using Vault.
🚧 Currently only works with version 1 of the vault key/value secrets engine.
Installation
macOS
curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git sjparkinson/vdot --target x86_64-unknown-linux-musl --to /usr/local/bin
Linux
curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git sjparkinson/vdot --target x86_64-apple-darwin --to /usr/local/bin
Windows
You can download vdot.exe
from the latest release. You will also need to install the Visual C++ Redistributable for Visual Studio 2015.
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.
$ vault login
$ vault write secret/foo-bar ENV=production
$ vault write secret/fizz-buzz LOG_LEVEL=info
$ vdot secret/foo-bar secret/fizz-buzz
Saved 2 environment variables to .env
$ cat .env
ENV=production
LOG_LEVEL=info