To establish a trust relationship between an enterprise IdP and the cloud platform, upload the metadata file of the cloud platform to the enterprise IdP, and then create an IdP entity and upload the metadata file of the IdP on the IAM console.
The metadata file of the cloud platform needs to be configured in the enterprise IdP to establish a trust relationship between the two systems.
The cloud platform provides different API gateways for users in different regions to call APIs. To allow users to access resources in multiple regions, download metadata files of all these regions.
Create an Idp entity and configure the metadata file in IAM.
Parameter | Description |
|---|---|
Name | IdP name, which must be unique. You are advised to use the domain name. |
Protocol | IdP protocol. The system supports SAML and OpenID Connect IdPs. For details about how to configure OpenID Connect-based identity federation, see Identity Federation Via OpenID Connect. |
SSO Type | IdP type. An account can have only one type of IdP.
|
Status | IdP status. The default value is Enabled. |
The IdP name must be unique under your account. You are advised to use the domain name.
To configure the metadata file of the enterprise IdP obtained in 3 on the cloud platform, you can upload the metadata file or manually edit metadata on the IAM console. For a metadata file larger than 500 KB, manually configure the metadata. If the metadata has been changed, upload the latest metadata file or edit the existing metadata to ensure that the federated users can log in to the cloud platform successfully. Figure 1 Uploading a metadata file Parameter Mandatory Description Entity ID Yes The unique identifier of an IdP. Enter the value of entityID displayed in the enterprise IdP's metadata file. If the metadata file contains multiple IdPs, choose the one you want to use. Protocol Yes The SAML protocol is used for identity federation between an enterprise IdP and SP. NameIdFormat No Enter the value of NameIdFormat displayed in the IdP metadata file. It specifies the username identifier format supported by the IdP, which is used for communication between the IdP and federated user. Signing Certificate Yes Enter the value of <X509Certificate> displayed in the IdP metadata file. A signing certificate is a public key certificate used for signature verification. For security purposes, enter a public key containing at least 2,048 bits. The signing certificate is used during identity federation to ensure that assertions are credible and complete. SingleSignOnService Yes Enter the value of SingleSignOnService displayed in the IdP metadata file. This parameter defines how SAML requests are sent during SSO. It must support HTTP Redirect or HTTP POST. SingleLogoutService No Enter the value of SingleLogoutService displayed in the IdP metadata file. This parameter indicates the address to which federated users will be redirected after logging out their sessions. It must support HTTP Redirect or HTTP POST. The following example shows the metadata file of an enterprise IdP and the manually configured metadata. Figure 2 Metadata file of an enterprise IdP

Federated users can only access the cloud platform by default. To assign permissions to federated users, configure identity conversion rules. For more information, see Step 2: Configure Identity Conversion Rules.
To modify the configuration of an IdP, click Modify at the bottom of the details page.