Skip to content

Is there a programmatic way to get the EKS cluster token using java aws sdk #2737

Answered by debora-ito
srinivasev asked this question in Q&A
Discussion options

You must be logged in to vote

There's no straightforward way to obtain the cluster authentication token using the Java SDK, I'm afraid.
The EKS Dev Guide points to the use of a aws-cli command : aws eks get-token or the aws-iam-authenticator library.

We do have a feature request to add support in the Java SDK, and people have shared their working code: #1795.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by debora-ito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information.
2 participants