Merge pull request 'feat: add terraform-ldap service' (#54) from benvin/terraform-ldap into master

Reviewed-on: #54
This commit is contained in:
Ben Vincent 2026-02-15 13:40:32 +11:00
commit 51bc3fffc0
4 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,9 @@
token_ttl: 60
token_max_ttl: 120
bind_secret_id: false
token_bound_cidrs:
- "10.10.12.200/32"
- "198.18.25.102/32"
- "198.18.26.91/32"
- "198.18.27.40/32"
use_deterministic_role_id: true

View File

@ -0,0 +1,5 @@
consul_roles:
- terraform-ldap
ttl: 60
max_ttl: 60
datacenters: []

View File

@ -0,0 +1,10 @@
# generate credentials for the terraform-ldap role in consul
---
rules:
- path: "consul_root/au/syd1/creds/terraform-ldap"
capabilities:
- read
auth:
approle:
- terraform_ldap

View File

@ -0,0 +1,7 @@
key_prefix "infra/terraform/ldap/" {
policy = "write"
}
session_prefix "" {
policy = "write"
}