Before you can connect to Tablestore, you must have a valid AccessKey pair that consists of an AccessKey ID and an AccessKey secret. The AccessKey pair is used to verify your identity. This topic describes how to obtain the AccessKey pair of an Alibaba Cloud account and a RAM user.
Obtain an AccessKey pair of a RAM user
To create an AccessKey pair for a RAM user, you can use:
An Alibaba Cloud account.
A RAM administrator with the AliyunRAMFullAccess policy attached.
A RAM user granted permissions to manage AccessKey pairs. For details on setting up self-management of AccessKey pairs, see Manage RAM user security settings.
Log on to the RAM console.
In the left-side navigation pane, choose
.On the Users page, click the username of a specific RAM user.
In the AccessKey section of the Authentication tab, click Create AccessKey.
Select a use scenario for the AccessKey pair that you want to create, select I confirm that it is necessary to create an AccessKey, and then click Continue.
In the Create AccessKey message, save the AccessKey ID and AccessKey secret, and click OK.
You can click Download CSV File to download the AccessKey pair or click Copy to copy the AccessKey pair.
ImportantThe AccessKey secret of a RAM user is displayed only after you click Create AccessKey. You cannot query the AccessKey secret in subsequent operations.
If the AccessKey pair of a RAM user is leaked or lost, you must create another AccessKey pair. You can create up to two AccessKey pairs for each RAM user.
Obtain the AccessKey pair of an Alibaba Cloud account
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 use the AccessKey pair of a RAM user and do not create and use the AccessKey pair of an Alibaba Cloud account.
Log on to the Alibaba Cloud Management Console by using your Alibaba Cloud account.
Move the pointer over the profile picture in the upper-right corner of the page that appears and click AccessKey Management.
In the Main Account AccessKey is not recommended dialog box, read the risks that arise from using the AccessKey pair of an Alibaba Cloud account, select I am aware of the security risks of using a main account AccessKey, and then click use Main Account AccessKey.
On the AccessKey Pair page, click Create AccessKey.
In the Create Main Account AccessKey dialog box, read the risks that arise from creating an AccessKey pair for an Alibaba Cloud account and the limits on using the AccessKey pair of an Alibaba Cloud account, select I am aware of the security risks of using a main account AccessKey, and then click use Main Account AccessKey.
In the Create AccessKey dialog box, save the AccessKey ID and AccessKey secret and click I have saved the AccessKey Secret.
You can click Download CSV File to download the AccessKey pair or click Copy to copy the AccessKey pair.
Click OK.