aws eks get-token
Get a token for authentication with an Amazon EKS cluster. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--cluster-idSpecify the id of the Amazon EKS cluster to create a token for.--cluster-nameSpecify the name of the Amazon EKS cluster to create a token for.--role-arnAssume this role for credentials when signing the token.