Grant the vault deployer sudo to enable the oidc auth mount #149
Reference in New Issue
Block a user
Delete Branch "benvin/sys-auth-oidc-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 deployer identities cannot enable the
oidcauth mount:POST /v1/sys/auth/oidcreturns 403 becausesys/auth/<path>(and its/tune) is sudo-protected, andpolicies/sys/auth/admin.yamlgranted create/update/delete/read/list withoutsudo.How
sys/auth/oidcandsys/auth/oidc/tunetopolicies/sys/auth/admin.yamlwith the wildcard's capability set plussudo(exact match wins over the glob, so the set is repeated in full); auth block unchanged.Merge order: apply this, then re-run the master apply so
module.auth_oidc_backend["oidc"]can create the mount.