Creating an IAM OIDC provider for your EKS cluster

From wikieduonline
Revision as of 17:35, 20 February 2024 by Welcome (talk | contribs) (→‎Related)
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: