diff --git a/policies/kv/service/terraform/authentik.yaml b/policies/kv/service/terraform/authentik.yaml new file mode 100644 index 0000000..29adda4 --- /dev/null +++ b/policies/kv/service/terraform/authentik.yaml @@ -0,0 +1,15 @@ +# Allow the Terraform Authentik runner to read OAuth2/OIDC client secrets that +# back authentik providers. Secrets live under each target service's kv +# namespace path (kv/kubernetes/namespace//default/oauth-credentials) and +# are read by the module's data.vault_kv_secret_v2 lookups. +--- +rules: + - path: "kv/data/kubernetes/namespace/+/default/oauth-credentials" + capabilities: + - read + +auth: + approle: + - terraform_authentik + k8s/au/syd1: + - woodpecker_terraform_authentik