terraform-vault-tenant/policies/tenant-admins.policy.hcl
Bertrand Lanson e1128cf244
All checks were successful
pull-requests-open / Check commit compliance (pull_request) Successful in 4s
development / Check commit compliance (push) Successful in 5s
fix: wrong allowed_parameters type for params
2024-05-26 14:48:12 +02:00

16 lines
347 B
HCL

path "${tenant_prefix}/*" {
capabilities = ["create", "update", "read", "delete", "list"]
}
path "sys/mounts/${tenant_prefix}/*" {
capabilities = ["create", "update", "read", "delete", "list"]
}
path "sys/remount" {
capabilities = ["update"]
allowed_parameters = {
from = ["${tenant_prefix}/*"]
to = ["${tenant_prefix}/*"]
}
}