[EKS] [ArgoCD capability]: Map IAM Identity Center permission sets to ArgoCD RBAC roles
Community Note
- Please vote on this issue by adding a 👍 reaction 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 ArgoCD capability's rbac_role_mapping to grant ArgoCD roles based on a user's IAM Identity Center permission set assignments, in addition to the existing SSO_GROUP and SSO_USER identity types.
For example:
rbac_role_mapping {
role = "EDITOR"
identity {
id = "arn:aws:sso:::permissionSet/ssoins-xxxx/ps-xxxx"
type = "PERMISSION_SET"
}
}
A user who currently holds that permission set on the cluster's account, whether through a group or a direct user assignment, would receive the mapped ArgoCD role. When the assignment is removed, the role would no longer apply.
Which service(s) is this request for? EKS (ArgoCD capability)
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? We use Okta as our identity provider, synced to IAM Identity Center via SCIM, and TEAM (Temporary Elevated Access Management) for time-bound elevation, for example from Developer to PowerUser.
TEAM elevates users by creating a temporary permission set assignment directly on the user. It does not change group memberships. This leads to inconsistent access:
- EKS API: works as expected. The elevated user assumes the PowerUser role, and EKS access entries map that role to Kubernetes permissions.
- ArgoCD: the elevation isn't recognized.
rbac_role_mappingonly supportsSSO_GROUPandSSO_USER, so the user keeps their base-level ArgoCD role for the whole elevation window.
A user can therefore have elevated access to the cluster but not to ArgoCD, the tool they're meant to use for deployments.
None of the existing options fit well:
| Option | Limitation |
|---|---|
| Change group membership in IAM Identity Center | Groups are owned by the external IdP via SCIM |
| Change group membership in the IdP | Outside TEAM's scope; requires custom IdP API integration |
SSO_USER mappings |
Requires an infrastructure change on every elevation and revocation |
| Edit ArgoCD RBAC policy directly | The capability does not expose argocd-rbac-cm |
| Permanently grant elevated ArgoCD roles | Breaks least privilege |
Are you currently working around this issue? The workaround AWS Support suggested is to create IAM Identity Center–native groups, which SCIM doesn't manage, for elevated users. EventBridge and Lambda would add users to those groups when TEAM grants access and remove them when it revokes. This works, but every customer has to build and run their own automation, including the Lambda, event wiring, a reconciliation job to catch missed events, and tightly scoped Identity Store permissions. It also adds another privileged component that can change access.
Additional context
- EKS access entries already support this pattern for Kubernetes API access by mapping IAM principals rather than group memberships. Supporting the same model in the ArgoCD capability would make access consistent across both.
- The specific design, such as a permission set ARN or an IAM role ARN, is up to the EKS team. The main requirement is that ArgoCD RBAC follows the user's current permission set assignments, so temporary elevation and expiry work without custom automation.
- This affects any organization that combines an external IdP via SCIM with a just-in-time access tool built on permission set assignments, including TEAM and similar tools.
Adding a use case from the field. On re:Post there's a thread where an Identity Center group mapped to the built-in VIEWER role could still delete an Argo CD Application on the EKS capability: https://repost.aws/questions/QUHn7OXRYFSTKJyp9mSxp4Hw/eks-managed-argo-cd-identity-center-viewer-can-delete-an-application
Whatever the root cause there turns out to be, the investigation ran straight into the gap this issue describes. The admin's mental model of access is the permission set ("this person has ReadOnly on the prod account"), while the capability maps groups and users, so working out what one person actually gets in Argo CD means tracing every group they belong to. Mapping by PERMISSION_SET would let the same object answer both questions.
Two things that would help alongside it:
- The resolved Argo CD role for a session visible somewhere (User Info or a log), so a mapping can be checked without someone trying a delete.
- Clear precedence when a user matches several mappings (group, user and permission set), since that's exactly where a VIEWER can end up with more than expected.