Grant the vault deployer read on the Authentik OIDC client secret #146
Reference in New Issue
Block a user
Delete Branch "benvin/oidc-client-read-grant"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why: the terraform-vault deployer must read the OpenBao OIDC client credentials that Authentik's provider module generates before it can configure
auth/oidc, and AppRole capabilities are fixed at login so the grant has to exist in a prior apply.How:
policies/kv/service/authentik/oidc-vault/read.yaml: read onkv/data/service/authentik/oidc-vaultfor the deployer identities (approletf_vault, k8s/au/syd1woodpecker_terraform_vault);terraform_authentikstill owns the write side ofkv/service/authentik/*.Merge order: this PR must merge and apply before the follow-up PR that adds the
auth/oidcmodules. OIDC becomes the default human auth path; approle/k8s (CI and agents) and break-glass are unchanged.unkin-agent referenced this pull request2026-08-30 21:59:35 +10:00