All Products
Search
Document Center

Tablestore:How do I obtain an AccessKey pair?

Last Updated:Jun 11, 2024

Before you can connect to Tablestore, you must have an 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

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 administrator who is attached the AliyunRAMFullAccess policy.

  • 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 about how to grant a RAM user the permissions to manage AccessKey pairs, see Manage security settings of RAM users.

  1. Log on to the RAM console.

  2. In the left-side navigation pane, choose Identities > Users.

  3. On the Users page, click the username of a specific RAM user.

  4. In the AccessKey section of the Authentication tab, click Create AccessKey.

  5. In the Create AccessKey message, view the AccessKey ID and AccessKey secret.

    You can click Download CSV File to download the AccessKey pair or click Copy to copy the AccessKey pair.

    Important
    • The 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.

  6. Click OK.

Obtain the AccessKey pair of 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 use the AccessKey pair of a RAM user and do not create and use the AccessKey pair of an Alibaba Cloud account.

  1. Log on to the Alibaba Cloud Management Console by using your Alibaba Cloud account.

  2. Move the pointer over the profile picture in the upper-right corner of the page that appears and click AccessKey Management.

  3. In the Note message, read the security tips and click Use Current AccessKey Pair.

  4. On the AccessKey Pair page, click Create AccessKey.

  5. In the Create AccessKey message, view the AccessKey ID and AccessKey secret.

    You can click Download CSV File to download the AccessKey pair or click Copy to copy the AccessKey pair.

  6. Select I have saved the AccessKey Secret.

  7. Click OK.