Skip to content

I need a way to simulate aws eks get-token behaviour for aws in the code. #791

Answered by rcoh
ls-ivan-kiselev asked this question in Q&A
Discussion options

You must be logged in to vote

I did a little investigation—this is a high level library implemented by the EKS team for the CLI to actually authenticate to Kubernetes. I think you're best bet would probably be to port that code to Rust: https://github.com/aws/aws-cli/blob/develop/awscli/customizations/eks/get_token.py

Sorry I can't be more helpful.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ls-ivan-kiselev
Comment options

@rcoh
Comment options

rcoh Apr 21, 2023
Collaborator

Answer selected by ls-ivan-kiselev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants