Skip to content

Latest commit

 

History

History
80 lines (57 loc) · 1.99 KB

README.md

File metadata and controls

80 lines (57 loc) · 1.99 KB

Harp : From Zero to Hero

Requirements

Tools

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

Environment

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

Let's go

Template engine

  1. Introduction
  2. Functions
  3. Variables
  4. Values
  5. Files
  6. Lists and Maps
  7. Alternative delimiters
  8. Whitespace controls
  9. Use Cases

Secret Container

  1. Introduction
  2. Specifications
  3. Cryptographic seal

Secret Bundle

  1. Introduction
  2. Bundle
  3. BundleTemplate
  4. BundlePatch

Secret Workflow

Section in development