Help Center/ Data Lake Insight/ FAQs/ APIs/ How Do I Obtain the AK/SK Pair?
Updated on 2023-05-19 GMT+08:00

How Do I Obtain the AK/SK Pair?

The access key ID (AK) and secret access key (SK) are a pair of access keys used together to authenticate users who wish to make API requests. The AK/SK pair provides functions similar to a password. When users make API requests to manage cloud resources (for example, creating a cluster), the AK/SK pair is required to sign the requests. This mechanism ensures the confidentiality and integrity of the requests as well as the correctness of the identities of both parties. Access keys can be generated and managed on the My Credentials page. To obtain the AK/SK pair, perform the following steps:
  1. Register with and log in to the Huawei Cloud management console.
  2. Move the cursor over your username in the upper right corner of the management console and click My Credentials from the drop-down list.
  3. In the navigation pane, select Access Keys.
  4. Click Create Access Key. The Create Access Key dialog box is displayed.
  5. Enter the required information as prompted and click OK. On the displayed page, click Download.
  6. Open the file to obtain the AK/SK information.

    Keep the AK/SK file somewhere safe to prevent information leakage.