Creating Access Keys (AKs and SKs)

This section describes how to create access keys (AKs and SKs) in OBS Console. A pair of AK and SK is used to encrypt the signature of a request, ensuring that the request is secure and integral, and that identities of the request sender and receiver are correct.

Context

AKs and SKs support the authentication mechanism of Identity and Access Management (IAM). Detailed explanations are as follows:

  • An Access Key ID (AK) defines a user that accesses the OBS system. An AK belongs to only one user, but one user can have multiple AKs. The OBS system recognizes the users that access the system by their AKs.
  • A Secret Access Key (SK) is the key used by users to access OBS. It is the authentication information generated based on the AK and the request header. SKs and AKs are in one-to-one mapping.

Restrictions and Limitations

Each user can create up to two valid AK/SK pairs.

Prerequisites

You have registered and activated a cloud account.

Procedure

  1. Log in to OBS Console.
  2. In the upper right corner of the page, click the username and select Basic Information from the drop-down list.
  3. On the displayed page, click Manage my credentials.
  4. On the My Credential page, click the Access Keys tab, and then click Add Access Key below the displayed access key list.
  5. In the Add Access Key dialog box that is displayed, enter the password and its verification code.

    NOTE:
    • If you have not bound an email address or mobile number, you need to enter only the password.
    • If you have bound an email address and a mobile number, you can select the verification either by email address or mobile number.

  6. Click OK.
  7. In the Download Access Key dialog box that is displayed, click OK to save the access keys to your browser's default download path.

    NOTE:

    To prevent the access keys from being leaked, keep it secure. If you click Cancel in the dialog box, the access keys will not be downloaded, and you cannot download them later. You can re-create an access key if you need to use it.

  8. Open the downloaded credentials.csv file to obtain the access keys (AK and SK).

Follow-up Procedure

If the AK and SK are used abnormally (including loss and leakage) or they are no longer needed, click Delete on the My Credential page to delete them.

When deleting the AK and SK, you need to enter the login password and either an email or mobile verification code. After the AK and SK are deleted, they will be permanently deleted and cannot be restored.

Registration