This topic describes how to create an AccessKey pair for your Alibaba Cloud account or RAM user account. When you call the Dynamic Route for CDN (DCDN) API, you must use the AccessKey pair to complete identity verification.

Background information

An AccessKey pair consists of an AccessKey ID and an AccessKey secret.

  • The AccessKey ID is used to verify the identity of a 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, the security of your resources will be threatened. We recommend that you use your RAM user account to call API operations. This can minimize the chance of disclosing the AccessKey pair of your Alibaba Cloud account.

Procedure

  1. Log on to Alibaba Cloud Console by using your Alibaba Cloud account.
  2. Place the pointer over your account avatar in the upper-right corner of the page, and click AccessKey.
  3. In the Security Tips dialog box that appears, select Continue to manage AccessKey or Get Started with Sub Users' AccessKey.
    Obtain an AccessKey pair
  4. Obtain the AccessKey pair of the Alibaba Cloud account.
    1. Click Continue to manage AccessKey.
    2. On the Security Management page, click Create AccessKey.
    3. On the Phone Verification page, obtain the verification code, complete the verification process, and then click OK.
    4. In the Create User AccessKey dialog box that appears, show AccessKey Details to view the AccessKey ID and AccessKey secret. You can also click Save AccessKey Information to download the AccessKey pair.
      Create an AccessKey pair
  5. Obtain the AccessKey pair of a RAM user.
    1. Click Get Started with Sub Users' AccessKey.
    2. Go to the 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. Find the target RAM user and click the user logon name. You are navigated to the Authentication tab. In the User AccessKeys section, click Create AccessKey.
    5. On the Phone Verification page, obtain the verification code, complete the verification process, and then click OK.
    6. In the Create AccessKey dialog box that appears, view the AccessKey ID and AccessKey secret. You can also click Download CSV File or Copy to download or copy the AccessKey pair.
      Create an AccessKey pair