Help Center> Cloud Stream Service> FAQ> General FAQs> How Do I Obtain the AK/SK Pair?

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/AS pair provides functions similar as 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 and log in to the public 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. Click the Access Keys tab.
  4. Click Add Access Key to switch to the Add Access Key dialog box.
  5. Enter your login password.
  6. Enter the verification code sent to your mail or mobile phone.

    For users created in IAM, if no email address or mobile phone was specified during user creation, the login password is enough. No verification code will be required.

  7. Click OK.

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