Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Vault demo setup
mkdir vault_demo && cd vault_demo
wget https://releases.hashicorp.com/vault/0.5.2/vault_0.5.2_darwin_amd64.zip
unzip vault_0.5.2_darwin_amd64.zip
export PATH=$(pwd):$PATH
cat > vault.conf <<EOF
backend "file" {
path = "file_backend"
}
listener "tcp" {
tls_disable = 1
}
EOF
vault server -config=vault.conf &
export VAULT_ADDR=http://127.0.0.1:8200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment