This topic describes how to create an AccessKey pair for a Resource Access Management (RAM) user and an Alibaba Cloud account.
Important If the AccessKey pair of an Alibaba Cloud account is leaked, the resources that belong
to the account are exposed to potential risks. To ensure account security, we recommend
that you create an AccessKey pair for a RAM user instead of an Alibaba Cloud account.
What is an AccessKey pair?
When you call API operations, you must use an AccessKey pair to complete identity verification. 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 verify the identity of the user. You must keep your AccessKey secret strictly confidential.
Create an AccessKey pair for a RAM user
You can use one of the following accounts to create an AccessKey pair for a RAM user:
- You can use the Alibaba Cloud account to which the RAM user belongs.
- You can use a RAM user that is assigned the administrative rights The RAM user that is assigned the administrative rights and the RAM user for which you want to create an AccessKey pair must belong to the same Alibaba Cloud account.
- You can use a RAM user that is granted the permissions to manage AccessKey pairs. You can use the Alibaba Cloud account to which the RAM user belongs to grant the permissions. For more information, see Configure security policies for RAM users.