Hi Everyone!
Is it possible to give a policy-token sudo rights for creating new tokens and thereby denying a specific policy? Saying it can create a token for all existing policies expect a specific one called here admin_super?
We tried the following policy but unfortunately its not working…
path “auth/token/create” {
capabilities = [“create”, “update”, “delete”, “sudo”]
denied_parameters = {
“policies” = [“admin_super”]
}
}
when creating a token based on this policy, the token is still able to create an admin_super token via
$ vault token create -policy=admin_super -ttl=50h …
Thanks and all the best!