Skip to content

EKS authentication based on AWS Sigv4#2806

Merged
k8s-ci-robot merged 1 commit into
kubernetes-client:masterfrom
yue9944882:eks-authentication
Oct 5, 2023
Merged

EKS authentication based on AWS Sigv4#2806
k8s-ci-robot merged 1 commit into
kubernetes-client:masterfrom
yue9944882:eks-authentication

Conversation

@yue9944882
Copy link
Copy Markdown
Member

@yue9944882 yue9944882 commented Oct 1, 2023

This authentication class helps connecting to an EKS cluster w/o requiring having "aws" cli in the $PATH. Before this CR, users can still talk to EKS cluster by using the exec plugin, but now the new EKSAuthentication class will help them get rid of that CLI dependency. EKS cluster uses a bearer token which is signed by AWS AK/SK using SIGv4 in a customized format.

(I think this is the first implementation of EKS bearer token generator in Java, the authentication protocol is never documented anywhere :/)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 1, 2023
Signed-off-by: Min Jin <minkimzz@amazon.com>
@brendandburns
Copy link
Copy Markdown
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 5, 2023
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, yue9944882

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [brendandburns,yue9944882]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 61c28c8 into kubernetes-client:master Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants