Updated on 2024-07-26 GMT+08:00

API Credentials

You can view your username, user ID, account name, account ID, and project IDs on the API Credentials page. A project ID uniquely identifies a region where cloud resources are deployed. It is required when you call APIs to manage cloud resources, such as creating a Virtual Private Cloud (VPC).

Procedure

  1. Log in to Huawei Cloud and click Console in the upper right corner.

    Figure 1 Accessing the console

  2. On the management console, hover over the username in the upper right corner and choose My Credentials from the drop-down list.

    Figure 2 Choosing My Credentials

  3. Choose API Credentials from the navigation pane, and then view your IAM username, IAM user ID, account name, account ID, and project IDs.

    Figure 3 Viewing API credentials
    • If the region and project you want to view are not displayed, click Console in the upper left corner, switch to the desired region, and go to the API Credentials page again.
    • If you have logged in as a federated user, you are a virtual IAM user and you do not have an IAM user name or user ID.