Updated on 2026-01-16 GMT+08:00

Creating an AK and SK

OBS uses the AK and SK in a user account for signature verification to make sure that only authorized accounts can access specified OBS resources. Detailed explanations about AK and SK are as follows:

  • An access key ID (AK) defines a user who accesses the OBS system. An AK belongs to only one user, but one user can have multiple AKs. The OBS system recognizes the users who access the system by their access key IDs.
  • An SK is the secret access key on OBS, which is required as the key to access OBS. You can generate authentication information based on SKs and request header fields. An SK matches an AK, and they group into a pair.

The procedure is as follows:

  1. Log in to OBS Console.
  2. In the upper right corner of the page, hover the cursor over the username and choose My Credentials.
  3. On the My Credentials page, select Access Keys in the navigation pane on the left.
  4. On the Access Keys page, click Create Access Key.
  5. In the Create Access Key dialog box that is displayed, enter the password and verification code.
    • If you have not bound an email address or mobile number, enter only the password.
    • If you have bound an email address and a mobile number, you can select the verification by either email or mobile phone.
  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.
  8. Open the downloaded credentials.csv file to obtain the access keys (AK and SK).
  • Each user can create up to two valid AK/SK pairs.
  • To prevent the AK/SK from being leaked, keep them secure. If you click Cancel in the dialog box, the access keys will not be downloaded, and cannot be obtained later. You can re-create access keys if you need to use them.