terraform-vault/auth_approle_incus_cluster.tf
Ben Vincent 12e04b3db7 feat: add incus-cluster role/policies
- add policy and role to manage incus cluster join tokens
2025-01-06 23:16:06 +11:00

17 lines
364 B
HCL

resource "vault_approle_auth_backend_role" "incus_cluster" {
role_name = "incus_cluster"
bind_secret_id = false
token_policies = [
"default_access",
"incus-cluster-join-tokens"
]
token_ttl = 60
token_max_ttl = 120
token_bound_cidrs = [
"10.10.12.200/32",
"198.18.13.77/32",
"198.18.13.78/32",
"198.18.13.79/32"
]
}