Commit f41cef0
committed
fix: skip_child_token in validate-vault-oidc (read-only role can't create child tokens)
The vault provider's default behavior calls auth/token/create to mint a child
token, which the OIDC role's read-only policy (env0-access) doesn't permit (403).
skip_child_token uses the OIDC-login VAULT_TOKEN directly — it's already short-lived.1 parent da5b0a9 commit f41cef0
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
0 commit comments