Vault login in CI fails: `permission denied` or `claim "bound_claims" does not match`.
AdvancedTroubleshootingSecrets, Security and Pipeline Performance
Answer
Likely causes → JWT/OIDC role bound claims (ref, repo, environment) differ from the token.
Diagnose → Decode the JWT payload (cut -d. -f2 | base64 -d), read the Vault role: vault read auth/jwt/role/ci.
Fix → Align bound_claims or bound_subject with the token claims.
Prevent → Keep Vault roles as code and test with real tokens.
More on Secrets, Security and Pipeline Performance
A secret printed in logs appears as `***` in GitHub Actions but a base64 variant is visible.Advanced`gitleaks` finds a secret in an old commit, but the file is gone now.BeginnerTrivy scan fails the pipeline: `FATAL ... failed to download vulnerability DB ... TOOMANYREQUESTS`.Intermediate`cosign verify` fails: `no matching signatures: none of the expected identities matched`.AdvancedKyverno `verifyImages` blocks all deploys after rollout: `image verification failed`.AdvancedDependabot/Renovate PRs fail CI with unrelated errors.Beginner