terraform-vault-tenant/policies/tenant-admins.policy.hcl
Bertrand Lanson a1a7818c15
All checks were successful
development / Check commit compliance (push) Successful in 5s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
fix: wrong permissions on token/create for tenant admin
2024-05-25 17:10:46 +02:00

12 lines
314 B
HCL

path "{{identity.entity.metadata.prefix}}/*" {
capabilities = ["create", "update", "read", "delete", "list"]
}
path "sys/mounts/{{identity.entity.metadata.prefix}}/*" {
capabilities = ["create", "update", "read", "delete", "list"]
}
path "auth/token/create" {
capabilities = ["create", "update", "sudo"]
}