I’m trying to define an access policy where the user can see the secret, but not its value.
If I leave it with the “list” capability, the secret is not shown, when I put “read” it shows the value.
How can I resolve it?
The policy created returning error:
path "apv/secrets/+/boom" {
capabilities = ["create", "update", "delete", "list"]
}
The policy returning the values
path "apv/secrets/+/boom" {
capabilities = ["create", "update", "delete", "list", "read"]
}
I tried use /* in the but I was unsuccessful
The policy only shows the key and not the value in the path.