This topic describes how to create an AccessKey pair for an Alibaba Cloud account or a RAM user. When you call the Alibaba Cloud Service Mesh (ASM) API, you must use the AccessKey pair to complete identity authentication.

Background information

An AccessKey pair consists of an AccessKey ID and an AccessKey secret.
  • The AccessKey ID is used to verify the identity of the user.
  • The AccessKey secret is used to encrypt and verify the signature string. You must keep your AccessKey secret strictly confidential.
Warning If the AccessKey pair of your Alibaba Cloud account is disclosed, your resources are exposed to potential risks. We recommend that you use a RAM user to call API operations. This minimizes the possibility of disclosing the AccessKey pair of your Alibaba Cloud account.

Procedure

  1. Log on to the Alibaba Cloud Management Console by using your Alibaba Cloud account.
  2. Move the pointer over the profile picture in the upper-right corner and click AccessKey Management.
  3. In the Note dialog box, click Use Current AccessKey Pair or Use AccessKey Pair of RAM user as required.
  4. Obtain an AccessKey pair.
    • Obtain the AccessKey pair of your Alibaba Cloud account.
      1. In the Note dialog box, click Use Current AccessKey Pair.
      2. On the AccessKey Management page, click Create AccessKey.
      3. In the Phone Verification dialog box, enter the verification code in the Verification Code field and click OK.
      4. In the Create AccessKey message, view the AccessKey ID and AccessKey secret. To download the AccessKey pair, click Download CSV File.
    • Obtain the AccessKey pair of a RAM user
      1. In the Note dialog box, click Use AccessKey Pair of RAM User.
      2. Go to the Resource Access Management (RAM) console and create a RAM user on the Create User page. Skip this step if you want to obtain the AccessKey pair of an existing RAM user.
      3. In the left-side navigation pane of the RAM console, choose Identities > Users.
      4. On the Users page, click the username of the RAM user for which you want to create an AccessKey pair. On the details page of the RAM user, click Create AccessKey in the User AccessKeys section on the Authentication tab.
      5. In the Phone Verification dialog box, enter the verification code in the Verification Code field and click OK.
      6. In the Create AccessKey message, view the AccessKey ID and AccessKey secret. To download or copy the AccessKey pair, click Download CSV File or Copy.