Skip to content

hashicorp vault automation

what is an HCL vault

install and verify

vault -v
vault server -help

This lets you spin up a vault dev server in your localhost http://127.0.0.1:8200

vault server --dev

set vault environment variables to provision your dev server

export VAULT_ADDR='http://127.0.0.1:8200'
export VAULT_TOKEN=='xxxxxxxxxxxxxxxxx'

vault in terraform