aws / aws/containers-roadmap

[EKS] [request]: Support thin tokens for external identity providers

Open
#1,762 0 comments 16 reactions 0 assignees View on GitHub
EKS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
Allow the EKS Identity Provider to authenticate external OIDC using "thin" tokens.

**Which service(s) is this request for?**
EKS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
The implementation available today on EKS assumes that tokens returned are "fat" (i.e. containing both the token itself and supporting information like group claims). It is common for IDP's to present only a "thin" token (i.e. only containing the token) and expect a second query to something like `userinfo/` to gather further information about the user. It would be helpful as an advanced feature to be able to configure this resource in order to use thin tokens.

**Are you currently working around this issue?**
We use a two step process.The first to login to AWS and obtain session tokens, and then the second to acquire a token into Kubernetes itself via `aws eks get-token`.

Contributor guide

Open the contributing guide

Research direction

The issue provides no repository files or tests; begin by tracing the EKS Identity Provider's OIDC flow and the aws eks get-token workaround described. Done means the EKS resource can be configured for thin tokens and obtain supporting user information through userinfo/.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes
Domain
authentication, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.