Hi,
I had issues with granting access to a vault secret path.
my secret path is inside this folder:
secret/data/project1/group1/
I have my policy as:
path “secret/data/project1/group1/*” {
capabilities = [“read”, “list”]
}
I have atttached this policy to group1 LDAP.
when I login I can see the secret/ folder. however when I try to access it it gives me permission denied.
I am using kv v2 engine.
I also tried to add /data to my root path like below, still no luck:
path “secret/data/data/project1/group1/*” {
capabilities = [“read”, “list”]
}
it works if I put * at the root level(below) but this is not what I am looking for since there are different project folder within the root.
path “secret/*” {
capabilities = [“read”, “list”]
}
any suggestions?