Skip to content

feat(credentials): add credential source metadata - #169

Merged
gargipanatula merged 1 commit into
aws:feat/add-imds-integrationfrom
gargipanatula:add-credential-source-metadata
Sep 8, 2026
Merged

gargipanatula merged 1 commit into
aws:feat/add-imds-integrationfrom
gargipanatula:add-credential-source-metadata

Conversation

@gargipanatula

@gargipanatula gargipanatula commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Note - originally approved by a-cool-train@ here but we are doing fresh PRs to merge into main. There are no changes from that PR.

Adds a credential source tag to the credential model so responses can record which source vended them (auth-service vs imds). Foundation for the IMDS credential path landing in follow-up PRs.

Changes

  • pkg/credentials/model.go — add CredentialSource (SourceAuthService / SourceIMDS), a Source() method on ResponseMetadata, and a concrete CredentialMetadata (association ID + source).
  • internal/cloud/eksauth/service.go — eks-auth delegate reports SourceAuthService.
  • Mock regen + tests.

No runtime behavior change.

Testing: make build and make test green.

Final implementation lives on imds-integration; this is the credential-source-metadata slice of that chain.

@gargipanatula
gargipanatula requested a review from a team as a code owner September 8, 2026 21:32
@gargipanatula
gargipanatula merged commit 2af164f into aws:feat/add-imds-integration Sep 8, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants