Hello
I have configured 2 policies - one is intergations and the other one is called child-token.
vault policy read child-token
path "auth/token/create/" {
capabilities = ["create", "read", "update", "delete", "list"]
}
I have issued a token like this:
vault token create -policy integrations -policy child-token
vault token lookup 12ec6146-e3f1-bac1-050e-1edbab819f24
Key Value
--- -----
accessor 9f866dcb-2688-bddc-164f-6daf91469845
creation_time 1534425677
creation_ttl 8760h
display_name token
entity_id n/a
expire_time 2019-08-16T13:21:17.847761006Z
explicit_max_ttl 0s
id 12ec6146-e3f1-bac1-050e-1edbab819f24
issue_time 2018-08-16T13:21:17.847752724Z
meta <nil>
num_uses 0
orphan false
path auth/token/create
policies [child-token default integrations]
renewable true
ttl 8758h30m48s
The token I am creatting however is not capable of creating child tolkens:
Any idea why I my token has no permission for creating child tokens although it has attached policy child-token with permisions on auth/token/create ?
Regard
Donislav