If you’re unable to use the AWS CLI version 1.16.156 or later to create the kubeconfig file, then you can install the AWS IAM authenticator for Kubernetes on macOS, Linux, or Windows.. macOS
https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html

