r/coolgithubprojects • • 1h ago

I built KVX, an open-source CLI for bulk Vault operations

https://github.com/iamludal/kvx

Multiple times I needed to migrate secrets between Vault namespaces, delete unused folders and search for values everywhere (for example, to find all database URLs, or all the occurrences of a token), so I decided to build KVX.

It's a CLI tool that brings those operations, where you can search values (also supports regex), compare secret trees, copy, move or delete them in bulk, export and import, etc. It supports both Vault and OpenBao, with dry runs, masked search results, output formats, and more.

Similar tools exist, but the features were spread across each tool, and some features I needed did not exist. My goal was to build an all-in-one toolkit.

You can easily install it with brew, run the provided docker image on GHCR or download the binaries for your platform directly from the releases page.

I hope it can help others facing the same problems. I’d love your feedback and ideas so feel free to comment, and if you find it useful, a GitHub star would mean a lot for me! šŸ™‚

Link to the repo: https://github.com/iamludal/kvx

1 Upvotes

0 comments sorted by