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

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_iam_saml_provider"
     4  sidebar_current: "docs-aws-resource-iam-saml-provider"
     5  description: |-
     6    Provides an IAM SAML provider.
     7  ---
     8  
     9  # aws\_iam\_saml\_provider
    10  
    11  Provides an IAM SAML provider.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "aws_iam_saml_provider" "default" {
    17    name                   = "myprovider"
    18    saml_metadata_document = "${file("saml-metadata.xml")}"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `name` - (Required) The name of the provider to create.
    27  * `saml_metadata_document` - (Required) An XML document generated by an identity provider that supports SAML 2.0.
    28  
    29  ## Attributes Reference
    30  
    31  The following attributes are exported:
    32  
    33  * `arn` - The ARN assigned by AWS for this provider.
    34  * `valid_until` - The expiration date and time for the SAML provider in RFC1123 format, e.g. `Mon, 02 Jan 2006 15:04:05 MST`.
    35  
    36  ## Import
    37  
    38  IAM SAML Providers can be imported using the `arn`, e.g.
    39  
    40  ```
    41  $ terraform import aws_iam_saml_provider.default arn:aws:iam::123456789012:saml-provider/SAMLADFS
    42  ```