Skip to content

Conversation

mspiewak
Copy link
Contributor

EKS Pod Identity provides improved security for Kubernetes workloads by offering pod-level credential isolation compared to instance roles. The implementation:

  • Automatically detects Pod Identity environment variables
  • Retrieves temporary AWS credentials via HTTP endpoint using JWT token
  • Follows existing credential provider patterns with caching and refresh logic
  • Integrates into default credential chain: env vars → pod identity → instance role
  • Uses raw JWT token format (not Bearer) as required by EKS Pod Identity service

This enables seamless AWS API access for applications running on EKS clusters configured with Pod Identity associations.

Before opening a PR, please make sure you have:

  • Run mix format using a recent version of Elixir
  • Run mix dialyzer to make sure the typing is correct
  • Run mix test to ensure no tests have broken (also please make sure you've added tests for your particular change, where appropriate).

EKS Pod Identity provides improved security for Kubernetes workloads by offering
pod-level credential isolation compared to instance roles. The implementation:

- Automatically detects Pod Identity environment variables
- Retrieves temporary AWS credentials via HTTP endpoint using JWT token
- Follows existing credential provider patterns with caching and refresh logic
- Integrates into default credential chain: env vars → pod identity → instance role
- Uses raw JWT token format (not Bearer) as required by EKS Pod Identity service

This enables seamless AWS API access for applications running on EKS clusters
configured with Pod Identity associations.
@mspiewak mspiewak changed the title add eks pod identity credential provider Add eks pod identity credential provider Sep 18, 2025
@bernardd
Copy link
Contributor

bernardd commented Oct 3, 2025

Looks awesome! Thanks very much, @mspiewak!

@bernardd bernardd merged commit 9365a08 into ex-aws:main Oct 3, 2025
13 checks passed
@velimir
Copy link
Contributor

velimir commented Oct 4, 2025

Thanks for merging @bernardd

Are these supposed to be closed now?

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.

3 participants