terraform-vault-tenant/policies/tenant-admins.policy.hcl

15 lines
372 B
HCL
Raw Normal View History

path "${tenant_prefix}/*" {
2024-05-25 10:59:54 +00:00
capabilities = ["create", "update", "read", "delete", "list"]
}
path "sys/mounts/${tenant_prefix}/*" {
2024-05-25 10:59:54 +00:00
capabilities = ["create", "update", "read", "delete", "list"]
}
path "auth/token/create" {
capabilities = ["create", "update", "delete"]
allowed_parameters = {
"policies" = [${admin_policies}, ${reverse(admin_policies)}]
}
}