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

From wikieduonline
Jump to navigation Jump to search
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
<code>aws-iam-authenticator</code> to provide authentication to your [[EKS cluster]] using [[IAM]]
 +
*. https://github.com/kubernetes-sigs/aws-iam-authenticator
  
[[brew install]] aws-iam-authenticator
+
* Installation: <code>[[brew install aws-iam-authenticator]]</code>
 
+
* Help: <code>[[aws-iam-authenticator --help]]</code>
[[aws-iam-authenticator --help]]
 
  
 +
== Commands ==
 +
[[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
 
  [[kubectl config view --minify]] | grep command
 
           command: aws-iam-authenticator
 
           command: aws-iam-authenticator
  
[[Terraform EKS apply output]]
+
== [[Terraform EKS apply output]] ==
 
  users:
 
  users:
 
  - name: eks_education-eks-Ry318DCv
 
  - name: eks_education-eks-Ry318DCv
 
   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 20: 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>[[.kube/config]]</code>
 +
* <code>[[aws eks update-kubeconfig --name my-eks-cluster-name]]</code>
 +
* [[Amazon EKS cluster endpoint]]
  
 
== See also ==  
 
== See also ==  
* {{EKS}}
+
* {{aws-iam-authenticator}}
* {{AWS IAM}}
+
* {{EKS RBAC}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 11:37, 4 March 2024

Advertising: