This topic describes how to obtain an AccessKey pair for your Alibaba Cloud account and Resource Access Management (RAM) user. When you call Alibaba Cloud API operations, you must use an AccessKey pair to verify your identity.

Background information

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

Procedure

  1. Log on to the Alibaba Cloud Management Console with your Alibaba Cloud account.
  2. Move the pointer over the profile picture in the upper-right corner of the page and click AccessKey Management.
  3. In the Note dialog box, click Use Current AccessKey Pair or User AccessKey Pair of RAM User.
    pg_warning
  4. Obtain the AccessKey pair of an account.
    • Obtain the AccessKey pair of an Alibaba Cloud account.
      1. Click Use Current AccessKey Pair.
      2. On the AccessKey Management page, click Create AccessKey.
      3. In the MFA Verification dialog box, enter the verification code in the Verification Code field and click OK.
      4. In the Create AccessKey dialog box, view the AccessKey ID and AccessKey secret. To save the information about the AccessKey pair, you can click Download CSV File or Copy to copy the information of the AccessKey. pg_ak_success
    • Obtain the AccessKey pair of a RAM user.
      1. Click Use AccessKey Pair of RAM User.
      2. If a RAM user is not created, you are redirected to the Create User page of the RAM console. On this page, create a RAM user. If a RAM user is already created, skip this step.
      3. In the left-side navigation pane of the RAM console, choose Identities > Users.
      4. Click the user name. In the User AccessKeys section of the Authentication tab, click Create AccessKey.
      5. In the Create AccessKey dialog box, view the AccessKey ID and AccessKey secret. To save the information about the AccessKey pair, you can click Download CSV File or Copy to copy the information about the AccessKey. pg_ak_success