/vault

Primary LanguageShellApache License 2.0Apache-2.0

Vault

Quick app to run a vault server in a heroku dyno

Deploy

Setup

brew install vault vault-cli jq

export VAULT_APP=<APP NAME YOU PICKED>
export VAULT_ADDR="https://${VAULT_APP}.herokuapp.com"

vault operator init    #### stash the output of this command in a safe place!
vault operator unseal  # do this step 3x with different keys
vault status

export VAULT_TOKEN=<ROOT TOKEN FROM INIT>
vault write secret/hello value=world
vault read secret/hello

Useful Links