VAUI is a terminal UI for browsing and managing secrets in a HashiCorp Vault KV v2 mount. It can list paths and view, add, edit, or permanently delete secrets.
Install the latest version directly from GitHub (Go 1.24 or newer is required):
go install github.com/stuft2/vaui/cmd/vaui@latestMake sure the Go binary directory is on your PATH, then configure Vault and start VAUI:
export VAULT_ADDR=https://vault.example.com
vault login
vauiVAUI uses VAULT_TOKEN when it is set; otherwise it reads the token saved by vault login in ~/.vault-token. You can also pass -token explicitly.
Once VAUI opens:
- Use the arrow keys to select a path or secret.
- Press Enter to open it and Backspace to return to the parent path.
- Select a secret field and press
rto reveal its masked value. - Press
?to see the controls relevant to the current screen.
See the interface guide for screen-by-screen shortcuts and recipes for adding, editing, restoring, and deleting secrets.
When no mounts are configured, VAUI attempts to detect accessible KV v2 mounts through Vault's UI mount listing. Override this best-effort detection with -mount or set comma-separated mounts in VAULT_KV2_MOUNTS; VAUI prompts you to choose when more than one is available. If discovery is unavailable or finds no mounts, VAUI asks you to configure one explicitly. Use -namespace or VAULT_NAMESPACE for Vault Enterprise. Run vaui -help for all options.
The token needs list access to <mount>/metadata/*, read/write access to <mount>/data/*, and delete access to <mount>/metadata/* for the corresponding operations.
Clone the repository and run the CLI from the project root:
git clone https://github.com/stuft2/vaui.git
cd vaui
export VAULT_ADDR=https://vault.example.com
vault login
go run ./cmd/vauiBuild a local binary with:
go build ./cmd/vauiThe repository does not currently define an automated release workflow. Go users can install a tagged version with go install github.com/stuft2/vaui/cmd/vaui@<version> after a GitHub release is created.
The cmd/vaui package parses configuration and connects the terminal UI in internal/tui to the HashiCorp Vault KV v2 HTTP client in internal/vault. The client sends requests directly to Vault and does not persist secrets locally.
- A reachable HashiCorp Vault server with a KV v2 mount
- A Vault token with permissions appropriate to the operations being used
- Bubble Tea, Bubbles, and Lip Gloss for the terminal interface
Run the unit tests with:
go test ./...