brew install vault # Hashicorp Vault CLI and Server
brew install jq # Use to query / parse / beautify json data
brew install yq # Use to query / parse yaml data
To install stable
harp :
brew install elastic/harp/harp # Install harp
To install devel
harp (compiled from main
branch)
brew install --head elastic/harp/harp # Install harp
In a dedicated console, start a Vault server in developer mode
VAULT_DEV_ROOT_TOKEN_ID=myroot vault server -dev
In each console opened, don't forget to add these environment variables :
export VAULT_ADDR=http://127.0.0.1:8200
export VAULT_TOKEN=myroot
Prepare Vault secrets backends :
vault secrets enable -version=2 -path=infra kv
vault secrets enable -version=2 -path=platform kv
vault secrets enable -version=2 -path=product kv
vault secrets enable -version=2 -path=app kv
vault secrets enable -version=2 -path=artifact kv
vault secrets enable -version=2 -path=legacy kv
- Introduction
- Functions
- Variables
- Values
- Files
- Lists and Maps
- Alternative delimiters
- Whitespace controls
- Use Cases
Section in development