Browse secrets in vault in the terminal.
To do it, do:
go install github.com/slarwise/pole@latest
export VAULT_ADDR=https://my-vault.com
# The vault token is taken from the VAULT_TOKEN env var or from ~/.vault-token
# Logging into vault with `vault login` stores it in ~/.vault-token by default
vault login -method oidc
pole
Filter secrets fuzzily by typing letters, navigate secrets and mounts with the arrow keys.
Run tests with go test ./...
. To start and populate a local vault server, run
go run dev-vault/main.go
source dev-vault/env.sh
and run go run main.go
to test against it.