Never mind, I didn't realize that I spelled the name of the cluster wrong in the aws eks get-token --cluster-name xxxxx.
The tokens generated by both commands are valid credentials to login to kubernetes-dashboard and kubectl
The command will not complaint if you provide a non-existing cluster name.
What is the difference between iam-aws-authenticator and aws eks get-token?asked 2 years ago
API Server Authentication to AWS EKS (client.authentication.k8s.io/v1alpha1)asked 2 months ago
How to generate Container Image Manifest for EKS from Beanstalk Applications?asked 5 months ago
aws-node Daemonset (AWS EKS v1.21) with strange readiness timeoutSecondsasked 3 months ago
Chef & Puppet vs. ECS / EKSAccepted Answerasked 3 years ago
How to use EKS with AWS SSOasked a year ago
Difference between EKS managed node group and self-managed node groupAccepted Answerasked 4 days ago
EKS Fargate Nodes ami / kubelet version stuck?asked 7 months ago
Error installing helm chart eks/aws-load-balancer-controllerasked 8 months ago
Do EKS encrypts secrets by default?asked a month ago