Created
May 18, 2016 19:31
-
-
Save bhouse/70a38f5738a44acace0807e3261e04bf to your computer and use it in GitHub Desktop.
Vault demo setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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