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 enterprise IdP on the IAM console.
You have read the documentation of the enterprise IdP or have understood how to use the enterprise IdP. Configurations of different enterprise IdPs differ greatly, so they are not described in this document. For details about how to obtain the enterprise IdP's metadata file and how to upload the metadata file of the cloud platform to the enterprise IdP, see the IdP help documentation.
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.
To create an IdP entity on the IAM console, do as follows:
Parameter |
Description |
---|---|
Name |
IdP name, which must be unique globally. You are advised to use the domain name. |
Protocol |
IdP protocol. The cloud platform supports SAML and OpenID Connect protocols. For details about OpenID Connect-based identity federation, see Virtual User SSO via OpenID Connect. |
SSO Type |
IdP type. An account can have only one type of IdP. The following describes the virtual user type. Virtual user SSO: After a federated user logs in to the cloud platform, the system automatically creates a virtual user for the federated user. An account can have multiple IdPs of the virtual user type. |
Status |
IdP status. The default value is Enabled. |
To configure the metadata file of the enterprise IdP in 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.
For details about how to obtain the metadata file of an enterprise IdP, see the help documentation of the enterprise IdP.
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 |
Protocol used for identity federation between an enterprise IdP and SP. The protocol is selected by default. |
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. If you configure multiple values, the cloud platform uses the first value by default. |
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. If you configure multiple values, the cloud platform uses the first value by default. |
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. If you configure multiple values, the cloud platform uses the first value by default. |
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. If you configure multiple values, the cloud platform uses the first value by default. |
The following example shows the metadata file of an enterprise IdP and the manually configured metadata.
To modify the configuration of an IdP, click Modify at the bottom of the details page.