Repository navigation
Conversation
shiju-nv
changed the base branch from
main
to
feat/6049-gateway-provider-launch/shiju-nv
November 28, 2026 20:53
2 of 8 tasks
shiju-nv
force-pushed
the
feat/6049-gateway-verified-grants/shiju-nv
branch
from
November 28, 2026 21:43
cdb376e to
2191f10
Compare
shiju-nv
force-pushed
the
feat/6049-gateway-verified-grants/shiju-nv
branch
from
November 28, 2026 23:36
2191f10 to
00c7684
Compare
Authorize a dedicated supervisor's provider grant from its signed session and two JWT-SVIDs, then perform the OAuth exchange in the gateway. - The gateway derives the expected stable and launch SPIFFE IDs from the session's sandbox and runtime generation. It verifies both signatures against the Workload API trust bundle and requires the exact subject, a single audience, and an unexpired token for each. - The session and the provider attachment are rechecked before each OAuth exchange and before a cached or new token is returned. A stopped sandbox or a superseded generation is denied on cache hits too. - The token cache key includes the generation, the attachment epoch, the provider revision, and the resolved exchange subject. Token lifetime is capped by the session, both assertions, and the subject expiry. - Requests, cache misses, and OAuth exchanges have separate per-sandbox limits, and the gateway-wide cap scales with them, so warm grants are served while other grants wait on OAuth. - A token service timeout is shared with queued requests whatever status its response headers carried. - The stored token-exchange subject stays in the gateway, and the direct subject-exchange RPC is closed while this mode is configured. Signed-off-by: Shiju <shiju@nvidia.com>
shiju-nv
force-pushed
the
feat/6049-gateway-verified-grants/shiju-nv
branch
from
November 29, 2026 04:35
00c7684 to
064d09f
Compare
This branch has not been deployed
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.
Summary
Authorize a dedicated supervisor's provider token grant from its signed session and two JWT-SVIDs, then perform the OAuth exchange in the gateway. This is layer 4 of 8 in the stack that starts at #6050. No gateway setting enables the mode yet.
Related Issue
Part of #6049
Changes
Brokered Kubernetes grants share this handler and gain two of its checks: a provider that is detached and reattached during an exchange rejects the in-flight token, and a credential driver's subject expiry caps how long a token is served.
Release Notes
Testing
Checklist