Crates.io | vaultwalker |
lib.rs | vaultwalker |
version | 0.4.4 |
source | src |
created_at | 2023-06-13 21:00:04.733265 |
updated_at | 2024-05-28 23:28:02.343597 |
description | A CLI tool to browse Hashicorp Vault secrets |
homepage | https://github.com/millotp/vaultwalker |
repository | https://github.com/millotp/vaultwalker |
max_upload_size | |
id | 889425 |
size | 71,463 |
A command line interface to browse and edit Vault secrets.
Install the correct binary for your platform
curl -s 'https://i.jpillora.com/millotp/vaultwalker!?as=vw' | bash
Or build from source:
cargo install vaultwalker
If you have the vault cli already installed, you can simply use:
vw 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:
vw --host <my_vault_server> --token <the vault token> secret/my_company
To see all available options use:
vw -h
Navigate with the arrow to select any credentials (or HJKL), then use P
to copy the path to the secret, or S
to copy the secret itself.
To add a new key:
A
Enter
Enter
againTo edit a key:
U
Enter
To delete a key:
D
yes
to confirm, then Enter
To rename a key:
R
Enter
To quit the program press Q
or Ctrl+C
.
You can also press C
to clear the cache refresh the current path.
To view the list of options at any time, press O
.
Clone the repository and run cargo run secret/my_company
.
The changelog is generated with git-cliff, to update it run git-cliff
and commit the changes.
Before publishing, follow these steps:
Cargo.toml
git push
git tag 0.1.0
git push --tags