I am trying to template parameters in a policy as below. This is to allow users to only generate certificates with their username. Is there a way to do this and also is there a template variable to call the alias name directly. Currently I see options for calling mount accessor name etc.
path “pki/issue/general-role” {
capabilities = [“create”, “update”, “list”, “read”]
allowed_parameters = {
“common_name” = ["{{identity.entity.name}}"]
}
- Ashish