Help Center/ Object Storage Service/ API Reference/ Appendixes/ Obtaining Access Keys (AK/SK)
Updated on 2024-04-22 GMT+08:00

Obtaining Access Keys (AK/SK)

To access OBS using access keys as an IAM user, the programmatic access must be enabled. For details, see Viewing or Modifying IAM User Information.

When you call APIs, you need to use the AK and SK for authentication. To obtain the AK and SK, perform the following steps:

  1. Log in to the console.
  2. Hover over the username in the upper right corner and choose My Credentials from the drop-down list.
  3. Choose Access Keys.
  4. Click Create Access Key.
  5. Enter an access key description (optional) and click OK.
  6. Enter the verification code sent to your mobile phone, virtual MFA device, or email, and click OK.

    This step is required only when you have enabled operation protection.

  7. Click Download to obtain the access key file.

    Keep AKs and SKs properly to prevent information leakage.