#vault #hashicorp #cli

app vaultwalker

A CLI tool to browse Hashicorp Vault secrets

5 releases

0.2.3 Jul 24, 2023
0.2.2 Jul 11, 2023
0.1.1 Jun 13, 2023

#966 in Command line utilities

Download history 1/week @ 2023-11-04 7/week @ 2023-11-11 5/week @ 2023-11-18 14/week @ 2023-11-25 13/week @ 2023-12-02 6/week @ 2023-12-09 12/week @ 2023-12-23 5/week @ 2024-01-06 12/week @ 2024-01-27 16/week @ 2024-02-10 102/week @ 2024-02-17

130 downloads per month

MIT license

25KB
612 lines

Vaultwalker

version downloads

A command line interface to browse and edit Vault secrets.

How to install

cargo install vaultwalker

If you have the vault cli already installed, you can simply use:

vaultwalker secret/my_company

By default it will fetch the vault server address in $VAULT_ADDR and the token in the file ~/.vault-token.

If you want to provide your own login you can use:

vaultwalker --host <my_vault_server> --token <the vault token> secret/my_company

To see all available options use:

vaultwalker -h

Features

Navigate with the arrow to select any credentials, then use P to copy the path to the secret, or S to copy the secret itself.

To add a new key:

  • Navigate to the correct path and press A
  • Write the name of your key, press Enter
  • Write the value of the secret, press Enter again

To edit a key:

  • Select the key you want to edit and press U
  • Write the new value of the secret, press Enter

To delete a key:

  • Select the key you want to delete and press D
  • Enter yes to confirm, then Enter

Development

Run with cargo run secret/my_company.

Publishing

cargo publish

Dependencies

~5–15MB
~196K SLoC