Difference between revisions of "Aws-iam-authenticator for EKS"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
<code>aws-iam-authenticator</code> to provide authentication to your [[EKS cluster]] using [[IAM]]
 
<code>aws-iam-authenticator</code> to provide authentication to your [[EKS cluster]] using [[IAM]]
 +
*. https://github.com/kubernetes-sigs/aws-iam-authenticator
  
* Installation: <code>[[brew install]] aws-iam-authenticator</code>
+
* Installation: <code>[[brew install aws-iam-authenticator]]</code>
 
* Help: <code>[[aws-iam-authenticator --help]]</code>
 
* Help: <code>[[aws-iam-authenticator --help]]</code>
  
 +
== Commands ==
 
  [[aws-iam-authenticator token]]
 
  [[aws-iam-authenticator token]]
 
  [[aws-iam-authenticator verify]]
 
  [[aws-iam-authenticator verify]]
Line 20: Line 22:
 
   user:
 
   user:
 
     exec:
 
     exec:
       apiVersion: client.authentication.k8s.io/v1alpha1
+
       apiVersion: [[client.authentication.k8s.io/v1alpha1]]
 
       command: aws-iam-authenticator
 
       command: aws-iam-authenticator
 
       args:
 
       args:
Line 26: Line 28:
 
         - "-i"
 
         - "-i"
 
         - "education-eks-Ry318DCv"
 
         - "education-eks-Ry318DCv"
 +
 +
== Activity ==
 +
* [[Granting access to an IAM principal to view Kubernetes resources on a cluster]]
  
 
== Related ==
 
== Related ==
 
* [[EKS Terraform]]
 
* [[EKS Terraform]]
* [[ConfigMap]]
+
* <code>[[aws-auth configMap]]</code>
 
* <code>[[aws eks get-token]]</code> alternative authentication method.
 
* <code>[[aws eks get-token]]</code> alternative authentication method.
 
* <code>[[.kube/config]]</code>
 
* <code>[[.kube/config]]</code>
 
* <code>[[aws eks update-kubeconfig --name my-eks-cluster-name]]</code>
 
* <code>[[aws eks update-kubeconfig --name my-eks-cluster-name]]</code>
* [[Granting access to an IAM principal to view Kubernetes resources on a cluster]]
+
* [[Amazon EKS cluster endpoint]]
  
 
== See also ==  
 
== See also ==  
 
* {{aws-iam-authenticator}}
 
* {{aws-iam-authenticator}}
 
* {{EKS RBAC}}
 
* {{EKS RBAC}}
* {{AWS IAM}}
 
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 11:37, 4 March 2024

aws-iam-authenticator to provide authentication to your EKS cluster using IAM

Commands[edit]

aws-iam-authenticator token
aws-iam-authenticator verify
aws-iam-authenticator add
aws-iam-authenticator init
aws-iam-authenticator server
aws-iam-authenticator version
kubectl config view --minify | grep command
          command: aws-iam-authenticator

Terraform EKS apply output[edit]

users:
- name: eks_education-eks-Ry318DCv
 user:
   exec:
     apiVersion: client.authentication.k8s.io/v1alpha1
     command: aws-iam-authenticator
     args:
       - "token"
       - "-i"
       - "education-eks-Ry318DCv"

Activity[edit]

Related[edit]

See also[edit]

Advertising: