Difference between revisions of "Aws-iam-authenticator for EKS"
Jump to navigation
Jump to search
(22 intermediate revisions by 2 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 | ||
− | * <code>[[brew install | + | * Installation: <code>[[brew install aws-iam-authenticator]]</code> |
− | * <code>[[aws-iam-authenticator --help]]</code> | + | * Help: <code>[[aws-iam-authenticator --help]]</code> |
+ | == 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]] == | |
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 19: | 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]] | ||
− | * [[ | + | * <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>[[aws eks update-kubeconfig --name my-eks-cluster-name]]</code> | ||
+ | * [[Amazon EKS cluster endpoint]] | ||
== See also == | == See also == | ||
* {{aws-iam-authenticator}} | * {{aws-iam-authenticator}} | ||
− | * {{EKS | + | * {{EKS RBAC}} |
− | |||
[[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
- Installation:
brew install aws-iam-authenticator
- Help:
aws-iam-authenticator --help
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]
- EKS Terraform
aws-auth configMap
aws eks get-token
alternative authentication method..kube/config
aws eks update-kubeconfig --name my-eks-cluster-name
- Amazon EKS cluster endpoint
See also[edit]
- AWS IAM Authenticator for Kubernetes:
aws-iam-authenticator
: [token | verify | add | init | server | version | --help
],configmap/aws-auth
,AmazonEKSAdminPolicy
,AmazonEKSClusterAdminPolicy
- EKS RBAC, Amazon EKS authentication, Amazon EKS authorization,
aws eks get-token, aws-auth ConfigMap, aws-iam-authenticator, eksctl create iamidentitymapping, eksctl get iamidentitymapping, eks:AccessKubernetesApi, eks-connector
, K8s Cluster roles,AmazonEKSAdminPolicy
,AmazonEKSClusterAdminPolicy
Advertising: