Hello,
I have kv v1 with foo/
path and want to create policy for deny specific secrets inside foo/+/
, in my case foo/+/bitbucket*
.
But for some reason this policy below does not work. I’m still able to read any secrets in foo/+/bitbucket* with bitbucket* prefix.
path "foo/+" {
capabilities = ["list"]
}
path "foo/bar/*" {
capabilities = ["list", "read", "create", "update", "patch", "delete"]
}
path "foo/+/bitbucket*" {
capabilities = ["deny"]
}
It working only when I explicitly specificy full path like this:
path "foo/bar/bitbucket*" {
capabilities = ["deny"]
}
Why + does not work in my case?
Thanks.