Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 681 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 681 Bytes

Pole (vault)

Browse secrets in vault in the terminal.

Screenshot

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.

Development

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.