Hi,
There’s something weird that I don’t understand with the vault policies.
My policy looks like that:
path "secret/*" {
capabilities = ["create"]
}
path "secret/foo" {
capabilities = ["read"]
}
Two things I would like to understand:
-
Why can I read the “foo” secret only if add this path:
path "secret/data/foo" { capabilities = ["read"] }
and also it can be done only from the CLI and not from GUI
-
Another things, I added in both “foo” paths I stated above the list capability, but no matter
what I do I can’t see it in the CLI nor in the GUI
What am I missing here?
Thanks!