hilt86 / vault

Run Hashicorp Vault on Heroku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 init      #### stash the output of this command in a safe place!
vault 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

About

Run Hashicorp Vault on Heroku

License:Apache License 2.0


Languages

Language:Shell 90.8%Language:HCL 9.2%