This topic describes how to create and obtain an AccessKey pair for an Alibaba Cloud
account or a Resource Access Management (RAM) user. When you call API operations,
you must use the AccessKey pair to authenticate 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 your AccessKey secret confidential.
Warning If the AccessKey pair of your Alibaba Cloud account is disclosed, the security of
your resources is compromised. We recommend that you use a RAM user to call API operations.
This minimizes the risk in which the AccessKey pair of your Alibaba Cloud account
is leaked.
Procedure
- Log on to the Alibaba Cloud Management Console with your Alibaba Cloud account.
- Move the pointer over your account avatar in the upper-right corner and click AccessKey Management.
- In the Note dialog box, click Use Current AccessKey Pair or Use AccessKey Pair of RAM User.
- Obtain the AccessKey pair of an account.
- Obtain the AccessKey pair of your Alibaba Cloud account.
- Click Use Current AccessKey Pair.
- On the AccessKey Management page, click Create AccessKey.
- In the Phone Verification dialog box, obtain the verification code, complete the verification process, and
then click OK.
- In the Create AccessKey dialog box, view the AccessKey ID and AccessKey secret. You can click Save AccessKey Information to download the AccessKey pair.

- Obtain the AccessKey pair of a RAM user.
- Click Use AccessKey Pair of RAM User.
- Go to the RAM console. On the Create User page, create a RAM user. If you want to obtain the AccessKey pair of an existing
RAM user, skip this step.
- In the left-side navigation pane of the RAM console, choose .
- Find the RAM user and click the user logon name. The Authentication tab on the RAM user details page appears. In the User AccessKeys section, click Create AccessKey.
- In the Phone Verification dialog box, click Send verification code to obtain the verification code, enter the
verification code in the Verification code field, and then click Confirm.
- In the Create AccessKey dialog box, view the AccessKey ID and AccessKey secret. You can click Download CSV File or Copy to download or copy the AccessKey pair.
