Grant the vault deployer sudo to enable the oidc auth mount
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful

Enabling and tuning an auth mount at sys/auth/<path> is sudo-protected, so
the deployer identities got 403 on POST /v1/sys/auth/oidc despite already
holding create/update/delete on sys/auth/*.
This commit is contained in:
2026-08-31 22:13:56 +10:00
parent a1e7029615
commit a83ddf2442
+18
View File
@@ -8,6 +8,24 @@ rules:
- delete - delete
- read - read
- list - list
# Enabling/tuning an auth mount is sudo-protected, and an exact path match
# wins over the wildcard above, so both rules repeat the full capability set.
- path: "sys/auth/oidc"
capabilities:
- create
- update
- delete
- read
- list
- sudo
- path: "sys/auth/oidc/tune"
capabilities:
- create
- update
- delete
- read
- list
- sudo
auth: auth:
approle: approle: