Having problem with ACL Policies

I create secret kv systemcreds. I’d like to only read for follow path > > systemcreds/service_1/user_1/* with hcl file:

> path "systemcreds/*" {
>   capabilities = ["list"]
> }
> path "systemcreds/service_1/user_1/*" {
>   capabilities = ["read"]
> }

But error access denial Not Authorized. Help me!

There is nothing wrong with the policy.

You are logged in using the token with the policy?

Did you get the not authorized error when loading the policy or when trying to read a secret?

I logged in exactly token. I try to add “read” in my policy. It’s ok.

I read again secrets v1 and v2. It’s difference between them. Thanks for reply. Good day