github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/r/iam_openid_connect_provider.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_iam_openid_connect_provider"
     4  sidebar_current: "docs-aws-resource-iam-openid-connect-provider"
     5  description: |-
     6    Provides an IAM OpenID Connect provider.
     7  ---
     8  
     9  # aws\_iam\_openid\_connect\_provider
    10  
    11  Provides an IAM OpenID Connect provider.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_iam_openid_connect_provider" "default" {
    17      url = "https://accounts.google.com"
    18      client_id_list = [
    19       "266362248691-342342xasdasdasda-apps.googleusercontent.com"
    20      ]
    21      thumbprint_list = []
    22  }
    23  ```
    24  
    25  ## Argument Reference
    26  
    27  The following arguments are supported:
    28  
    29  * `url` - (Required) The URL of the identity provider. Corresponds to the _iss_ claim.
    30  * `client_id_list` - (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 client_id parameter on OAuth requests.)
    31  * `thumbprint_list` - (Required) A list of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificate(s). 
    32  
    33  ## Attributes Reference
    34  
    35  The following attributes are exported:
    36  
    37  * `arn` - The ARN assigned by AWS for this provider.
    38  
    39  ## Import
    40  
    41  IAM OpenID Connect Providers can be imported using the `arn`, e.g.
    42  
    43  ```
    44  $ terraform import aws_iam_openid_connect_provider.default arn:aws:iam::123456789012:oidc-provider/accounts.google.com
    45  ```