Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

saml2aws as credential plugin for eks cluster #888

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

d-kononov
Copy link

Ability to use saml2aws binary file as credential plugin for EKS cluster

@sledigabel
Copy link
Contributor

Have you thought of using the aws-iam-authenticator and use the aws cli with credential process to auth seemlessly?

- name: myCluster
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - eks
      - get-token
      - --cluster-name
      - mycluster
      - --profile
      - mycluster
      - --region
      - us-east-1
      command: aws
      env: null

@d-kononov
Copy link
Author

@sledigabel it should work if you store users in the AWS and provide aws keys to each of the users.

But it will not work if you use keycloak (as an example) as identity provider.

This feature allow you to use idp to create aws session and allow user to connect to the eks cluster.

@sledigabel
Copy link
Contributor

@d-kononov we use ADFS as IdP, backed by Azure. We do not use AWS IAM Users at all. You get a role in the end which you can use to auth in EKS with RoleBinding.

@mapkon
Copy link
Member

mapkon commented Apr 24, 2024

@d-kononov Are you still interested in this? If yes, please fix conflicts so we can merge.

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