Difference between revisions of "Aws eks get-token"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}} Get a token for authentication with an Amazon EKS cluster. This can be used as an alternative to the [[aws-iam-authenticator]].
 
{{lc}} Get a token for authentication with an Amazon EKS cluster. This can be used as an alternative to the [[aws-iam-authenticator]].
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/get-token.html
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/get-token.html
 +
 
<code>[[aws eks]] get-token --cluster-name</code>
 
<code>[[aws eks]] get-token --cluster-name</code>
  

Revision as of 15:09, 28 July 2022

Get a token for authentication with an Amazon EKS cluster. This can be used as an alternative to the aws-iam-authenticator. https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/get-token.html

aws eks get-token --cluster-name

aws eks get-token --cluster-name  your-cluster-name.eu-central-1.eksctl.io
{"kind": "ExecCredential", "apiVersion": "client.authentication.k8s.io/v1beta1", "spec": {}, "status": {"expirationTimestamp": "2022-07-28T14:31:47Z", "token": "k8s-aws-v1.aHR0cHM6Ly9zdHMuZXUtY2VudHJhbC0xLmFtYXpvbmLVNpZ25lZEhlYWRlcnM9aG9zdCUzQngtazhzLWF3cy1pZCZYLUFtei1TaWduYXR1cmU9OGU3OWNmMGI4ZTMzMjQxMzk4OGRlZjViYWNhZGEyMDNkYjE5NzM0ZjBiZGYwMjEwMjRlYTRkYjMzMGExMTZiYw"}}


Related

See also

Advertising: