Difference between revisions of "Creating an IAM OIDC provider for your EKS cluster"

From wikieduonline
Jump to navigation Jump to search
(Created page with " {{EKS}}")
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
* https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html
  
 +
* <code>[[aws iam create-open-id-connect-provider]]</code>
 +
* <code>[[module.eks.oidc_provider]]</code>
  
  
{{EKS}}
+
cluster_name=YOUR-CLUSTER-NAME && oidc_id=$([[aws eks describe-cluster --name]] $cluster_name --query "[[cluster.identity.oidc.issuer]]" --output text | cut -d '/' -f 5) && echo $oidc_id
 +
 
 +
[[aws iam list-open-id-connect-providers]] | grep $oidc_id | cut -d "/" -f4
 +
 
 +
== Related ==
 +
* [[Granting access to an IAM principal to view Kubernetes resources on a cluster]]
 +
 
 +
* [[Configuring a Kubernetes service account to assume an IAM role]]
 +
* [[EKS OIDC]]
 +
* [[Dynamic Credentials with the AWS Provider]]
 +
 
 +
== See also ==
 +
* {{EKS OIDC}}
 +
* {{OIDC}}
 +
* {{EKS module}}
 +
 
 +
[[Category:EKS]]

Revision as of 17:58, 20 February 2024

Advertising: