How do you handle recursive search for specific keys within a HashiCorp Vault KV store? I’m looking for an efficient way to find secrets by key name across nested paths without manually inspecting each path. Are there any CLI tricks or API methods that can make this easier?
As far as I know there is not, likely on purpose because that would also be a risk to easily be able to retrieve a list of key names.
If you have any sort of configuration management in place for Vault, you should be able to grab your specific mounts and iterate through.