Support file-based OIDC tokens#413
Draft
kylekthompson wants to merge 11 commits into
Draft
Conversation
Configure AWS web identity profiles and assert AWS and Google credential files retain the projected token path. Drop file modes for Azure and Namespace because their CLIs only persist token contents.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Why
rwx-cloud/mint#4575 adds automatically refreshed OIDC token-file projections through
${{ vaults.<vault>.oidc.<token>.path }}. Packages that consume OIDC tokens need to accept those paths while preserving compatibility with scalar token expressions.Impact
AWS and Google Cloud tools can renew credentials from the rotating token source during long-running tasks. Azure v2 and Namespace read the current token immediately before each consuming task, but their CLIs do not pick up later rotations within that task. Supplying both token forms is rejected before authentication.
Package versions are bumped to:
aws/assume-role2.0.10google-cloud/auth-oidc2.0.2azure/auth-oidc2.0.0namespace/login-hook1.0.3Validation
rwx linton the changed package and test definitionsbash -nrwx packages updateconfirmed package dependencies are currentnpm run spellcheckVault-backed integration workflows will be verified on the PR.