vault-initialize

module
v0.0.0-...-bb6f05a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: MIT

README

vault-initialize

Tool to Initialize and Unseal a Vault Server

Integration testing

start a local vault server and run init against it

TODO: codify this

vault server -config=config.hcl

go run cmd/main.go
docker image version
# start vault server
vault server -config=config.hcl

# in a separate terminal
docker run -e VAULT_ADDR="http://host.docker.internal:8200" --rm -it gcr.io/ls-docker/shared/vault-initialize:0.1.0

Directories

Path Synopsis
pkg
fromenv
Package fromenv provides functions to read typecast values with defaults from the environment
Package fromenv provides functions to read typecast values with defaults from the environment
k8s
Package k8s provides functions to interact with the kubernetes API to create a secret that contains app role credentials for vault backups
Package k8s provides functions to interact with the kubernetes API to create a secret that contains app role credentials for vault backups
secrets
Package secrets implements Google Secret Manager interactions
Package secrets implements Google Secret Manager interactions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL