Skip to content

Instantly share code, notes, and snippets.

@bhouse
Created May 18, 2016 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhouse/70a38f5738a44acace0807e3261e04bf to your computer and use it in GitHub Desktop.
Save bhouse/70a38f5738a44acace0807e3261e04bf to your computer and use it in GitHub Desktop.
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