alicloud_cloud_sso_service

更新时间:

Using this data source can open Cloud Sso Service automatically.

For information about Cloud SSO and how to use it, see What is Cloud SSO.

-> NOTE: Available in v1.148.0+.

-> NOTE: Cloud SSO Only Support cn-shanghai And us-west-1 Region.

Example Usage

Basic Usage

data "alicloud_cloud_sso_service" "open" {
  enable = "On"
}

Argument Reference

The following arguments are supported:

  • enable - (Required) Setting the value to On to enable the service. Valid values: On or Off.

-> NOTE: Setting enable = "On" to open the Cloud Sso service that means you have read and agreed the Cloud Sso Terms of Service. When there is no directory in Cloud SSO, you can set enable = "Off" to turn off Cloud SSO as needed. After it is closed, you can also open it at any time.

Attributes Reference

The following attributes are exported in addition to the arguments listed above:

  • status - The current service enable status.