Repository navigation
Conversation
Draft RFC 0019 for splitting credential storage and token refresh out of the gateway into a credential issuer with separate CredentialStore, CredentialRefresh, and TokenMinter contracts, and mTLS between the gateway and a remote issuer. Refs NVIDIA#4358 Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
Store gateway-internal secrets in the issuer with explicit owner kinds, describe the library crate and service binary that provide embedded and remote modes, and record the persistence extraction decision. Refs NVIDIA#4358 Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
mrunalp
marked this pull request as ready for review
November 2, 2026 19:58
Member
|
RFC numbering heads-up: this RFC currently uses 0019, which is already taken by the repository migration RFC (#4426). 0020 (#4564) and 0021 (#4721) are also in use, and 0022 has just been assigned to #5200. This RFC should probably use 0023, which means renaming the folder to |
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
Draft RFC 0019 proposes splitting credential storage and token refresh out of the gateway into a credential issuer. The issuer can run embedded (the default) or as a remote service on another cluster. The gateway keeps provider semantics, workspace authorization, and delivery to supervisors.
Related Issue
Refs #4358
This RFC covers the storage, refresh minting, and stale-credential reporting parts of #4358. Interactive OAuth login flows are listed as a non-goal and an open question, so this PR does not close the issue. The RFC number 0019 is provisional until maintainers assign one.
Changes
rfc/0019-credential-issuer-service/README.mdindraftstate.CredentialStore(put, delete, and batch resolve with versions and cache TTL),CredentialRefresh(refresh grants), andTokenMinter(stateless plugins for custom refresh strategies).Release Notes
Testing
mise run markdown:lint: Markdown and Mermaid lint)The local pre-commit hook was skipped for this commit. Its Rust lockfile check fails locally because of an sccache error, on lockfiles this PR does not change.
Checklist