Step 1: Create an Identity Provider

To establish a trust relationship between an enterprise identity provider and the cloud system, upload the metadata file of the cloud system to the identity provider, and then create an identity provider and upload the metadata file of the identity provider on the IAM console.

Prerequisites

As an enterprise administrator, you have registered an account in the cloud system and created user groups and granted them permissions in IAM.

The user groups created in IAM will be used to assign permissions to identity provider users mapped to the cloud system.

Establishing a Trust Relationship

To establish a trust relationship between the enterprise identity provider and the cloud system, exchange their metadata files.

  1. Download the metadata file of the cloud system. If both WebSSO and API calling need to be used, download the metadata files for the two functions.

    • WebSSO: Visit https://auth.otc.t-systems.com/authui/saml/metadata.xml. Right-click, choose Save As, and set a file name, for example, websso-metadata.xml.
    • API calling: Visit "https://Endpoint address of a region/v3-ext/auth/OS-FEDERATION/SSO/metadata", right-click on the page, choose Save As, and set a file name, for example, api-metadata-region.xml.

      The cloud system 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.

  2. Upload the metadata file to the identity provider server. For details about how to upload the metadata file, see the documentation of your identity provider.
  3. Obtain the metadata file of the enterprise identity provider. For details about how to obtain the metadata file, see the documentation of your identity provider.

Creating an Identity Provider

Create an identity provider and configure the metadata file in IAM.

  1. Log in to the IAM console, and choose Identity Providers from the navigation pane. Then click Create Identity Provider.
  2. On the displayed page, enter an identity provider name, select SAML for Protocol and Enabled for Status. Then, click OK.

    The identity provider name must be unique under your account.

  3. Click OK.

Configuring the Metadata File

Configure the metadata file of the enterprise IdP in the cloud system.

IAM provides preconfigured metadata. You can directly use or modify the preconfigured metadata. If you have obtained the metadata file of your enterprise IdP, upload the file.

For a metadata file larger than 500 KB, manually configure the metadata. If the metadata has changed, upload the latest metadata file or edit the existing metadata to ensure that the federated users can log in to the cloud system.

For details about how to obtain the metadata file, see the documentation of the enterprise identity provider.

Logging In as a Federated User

  1. Click the login link displayed on the identity provider details page to check if the login page of the identity provider server is displayed.

    1. On the Identity Providers page, click View in the Operation column of the identity provider. Copy the login link displayed on the identity provider details page and visit the link using a browser.
    2. If the login page is not displayed, check the metadata file and configurations of the identity provider server.

  2. Enter the username and password of a user that was created in the enterprise management system.

    • If the login is successful, add the login link to the enterprise's official website.
    • If the login fails, check the username and password.

    Federated users only have read permissions for the cloud system by default. To assign permissions to federated users, configure identity conversion rules for the identity provider. For more information, see Step 2: Configure Identity Conversion Rules.

Related Operations

Follow-Up Procedure