Using Vault v2.
Trying to create ACL policy to allow read-only to specific secrets.
By doing this -
path "kv/data/specific_secret" {
capabilities=["read", "list"]
}
I was able to curl it but not see it on the UI.
By doing this -
path "kv/metadata" {
capabilities=["list"]
}
path "kv/data/specific_secret" {
capabilities=["read", "list"]
}
I was able to see ALL secrets on the UI but read only the specific_secret one.
I was wondering if there’s a way to specify the secret I want to show.
I tried doing kv/metadata/specific_secret but that didn’t work…
Thanks!