Hi,
I have created a token associated to a policy named "provisioner-policy" allowing a number of actions, including reading and writing to the path services/ on which is mounted a KV secrets backend. The interesting part of the policy reads:
| capabilities = ["create", "read", "update", "delete", "list"] |
|
I can verify that the token is correctly bound to that policy by authenticating with it and running:
[...]| policies [default provisioner-policy] |
|
ttl 2756927
However, when I attempt to list or write to secrets/test, I get a permission denied error:
$ vault kv put services/test value=foo
| Error making API request. |
|
* permission denied
I am running Vault client v0.10.3, and the server is running v0.10.0. Any idea what could be wrong? I tried to use the v0.10.0 and v0.10.1 client just in case, but to no avail.
The complete commands output can be found attached.
Thank you!