alicloud_ram_saml_provider
更新时间:
Provides a RAM SAML Provider resource.
For information about RAM SAML Provider and how to use it, see What is SAML Provider.
-> NOTE: Available since v1.114.0.
Example Usage
Basic Usage
resource "alicloud_ram_saml_provider" "example" {
saml_provider_name = "terraform-example"
encodedsaml_metadata_document = <<EOF
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48bWQ6RW50aXR5RGVzY3JpcHRvciBlbnRpdHlJRD0iaHR0cDovL2V4YW1wbGUuYWxpeXVuLmNvbS9leGFtcGxlLWlkcCIgeG1sbnM6bWQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDptZXRhZGF0YSI+PG1kOklEUFNTT0Rlc2NyaXB0b3IgV2FudEF1dGhuUmVxdWVzdHNTaWduZWQ9ImZhbHNlIiBwcm90b2NvbFN1cHBvcnRFbnVtZXJhdGlvbj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIj48bWQ6S2V5RGVzY3JpcHRvciB1c2U9InNpZ25pbmciPjxkczpLZXlJbmZvIHhtbG5zOmRzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj48ZHM6WDUwOURhdGE+PGRzOlg1MDlDZXJ0aWZpY2F0ZT5NSUlEL3pDQ0F1ZWdBd0lCQWdJRU1yb0tjakFOQmdrcWhraUc5dzBCQVFzRkFEQ0JnREVuTUNVR0ExVUVBeE1lClFXeHBlWFZ1SUZKQlRTQkZlR0Z0Y0d4bElFTmxjblJwWm1sallYUmxNUkF3RGdZRFZRUUxFd2RCYkdsaVlXSmgKTVJBd0RnWURWUVFLRXdkQmJHbGlZV0poTVJFd0R3WURWUVFIRXdoSVlXNW5XbWh2ZFRFUk1BOEdBMVVFQ0JNSQpXbWhsU21saGJtY3hDekFKQmdOVkJBWVRBa05PTUNBWERUSXpNVEl3TkRFeU1EY3dNRm9ZRHpJd05URXdOREl4Ck1USXdOekF3V2pDQmdERW5NQ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b249Imh0dHA6Ly9leGFtcGxlLmFsaXl1bi5jb20vZXhhbXBsZS1pZHAvc3NvL3NhbWwiLz48L21kOklEUFNTT0Rlc2NyaXB0b3I+PC9tZDpFbnRpdHlEZXNjcmlwdG9yPg==
EOF
description = "For Terraform Test"
}
Argument Reference
The following arguments are supported:
saml_provider_name
- (Required, ForceNew) The name of SAML Provider.encodedsaml_metadata_document
- (Required) The metadata file, which is Base64 encoded. The file is provided by an IdP that supports SAML 2.0.description
- (Optional) The description of SAML Provider.
Attributes Reference
The following attributes are exported:
id
- The resource ID in terraform of SAML Provider. Value assaml_provider_name
.arn
- The Alibaba Cloud Resource Name (ARN) of the IdP.update_date
- The update time.
Import
RAM SAML Provider can be imported using the id, e.g.
$ terraform import alicloud_ram_saml_provider.example <saml_provider_name>
文档内容是否对您有帮助?