Creating an IAM OIDC provider for your EKS cluster

From wikieduonline
Revision as of 16:36, 31 October 2023 by Welcome (talk | contribs) (→‎See also)
Jump to navigation Jump to search


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

See also

Advertising: