From 0bc3c73e794a65bcd0941c053c203b2f0d6a51bd Mon Sep 17 00:00:00 2001 From: Brian Glogower Date: Fri, 2 Feb 2024 10:57:51 -0500 Subject: [PATCH] Add to README how to use search all KVs --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index c87a5b4..ec814c3 100644 --- a/README.md +++ b/README.md @@ -31,4 +31,11 @@ This tool is compatible with secrets kv v1 and v2. `> vault-kv-search --search=path secret/ sshkeys` +- Search all mounted KV secret engines: + + > [!NOTE] + > Since this requires listing all mounts, the operator must have proper permissions to do so. + + `> vault-kv-search example.com` + - To display the secrets, and not only the vault path, use the `--showsecrets` parameter.