Difference between revisions of "Terraform resource: aws iam openid connect provider"

From wikieduonline
Jump to navigation Jump to search
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
* <code>aws_iam_openid_connect_provider</code>
+
* <code>aws_iam_openid_connect_provider</code> [https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_openid_connect_provider ref] provides an IAM [[OpenID Connect]] provider
  
[[cluster endpoint public access]]
 
 
* <code>[[url]] = "[[oidc.eks.us-east-2.amazonaws.com]]/id/XXXXX"</code>
 
* <code>[[url]] = "[[oidc.eks.us-east-2.amazonaws.com]]/id/XXXXX"</code>
 +
 +
* <code>[[url]], [[arn]], [[id]]</code>
 +
 +
* <code>[[client_id_list]]</code> - (Required) A list of client IDs (also known as [[audiences]]). When a mobile or web app registers with an [[OpenID Connect provider]], they establish a value that identifies the application. (This is the value that's sent as the <code>[[client_id]]</code> parameter on [[OAuth]] requests.)
 +
 +
* <code>[[thumbprint_list]]</code> (Required) A list of server [[certificate thumbprints]] for the [[OpenID Connect (OIDC)]] identity provider's server certificate(s).
 +
 +
== Official example ==
 +
resource "aws_iam_openid_connect_provider" "default" {
 +
  url = "https://accounts.google.com"
 +
 +
  [[client_id_list]] = [
 +
    "266362248691-342342xasdasdasda-apps.googleusercontent.com",
 +
  ]
 +
 +
  thumbprint_list = ["cf23df2207d99a74fbe169e3eba035e633b65d94"]
 +
}
 +
 +
== Related ==
 +
* [[Terraform EKS module]]: <code>[[module.eks.oidc_provider]]</code>
 +
* <code>[[oidc-provider/]]</code>
 +
* <code>[[aws iam create-open-id-connect-provider]]</code>
 +
* [[Terraform EKS module input: cluster endpoint public access]]
 +
* Audience: <code>[[sts.amazonaws.com]]</code>
 +
* [[Terraform resource: aws iam saml provider]]
  
 
== See also ==
 
== See also ==
* {{OIDC}}
 
* {{openid}}
 
 
* {{Terraform aws iam resources}}
 
* {{Terraform aws iam resources}}
* {{tf eks module}}
+
* {{aws iam oidc}}
 +
* {{OpenID}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 16:04, 4 July 2024

Official example[edit]

resource "aws_iam_openid_connect_provider" "default" {
 url = "https://accounts.google.com"

 client_id_list = [
   "266362248691-342342xasdasdasda-apps.googleusercontent.com",
 ]

 thumbprint_list = ["cf23df2207d99a74fbe169e3eba035e633b65d94"]
}

Related[edit]

See also[edit]

Advertising: