Skip to content

Conversation

@xdu31
Copy link
Member

@xdu31 xdu31 commented Jun 9, 2025

…al provider

Issue #, if available:

Description of changes:

Use node instance role credentials for Pod Identity Agent as credential provider

EKS Pod Identity is using the host network, IMDS will use node instance role as credential provider, which includes the permission to call assume-role-for-pod-identity.

We don't want container credential provider to take precedence over instance role credential provider.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@xdu31 xdu31 requested a review from a team as a code owner June 9, 2025 06:03
}

// CustomDefaultCredentialsProvider returns a provider that tries static env vars first, then IMDS
func CustomDefaultCredentialsProvider(cfg aws.Config) aws.CredentialsProvider {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this the right implementation? FMU the env var based AWS creds are not rotatable. instead of implementing our own cred provider, can we reuse the existing ones?

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