Help Center> Scalable File Service> API Reference> Appendix> Obtaining Access Keys (AK/SK)
Updated on 2023-06-16 GMT+08:00

Obtaining Access Keys (AK/SK)

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

When calling an API, you need to use the AK/SK to verify the signature. To obtain the AK/SK, perform the following steps:

  1. Log in to the console.
  2. Hover the cursor on the username in the upper right corner and select My Credentials from the drop-down list.
  3. On the My Credentials page, click Manage Access Keys.
  4. In the navigation pane, select Access Keys.
  5. Click Add Access Key. The Add Access Key dialog box is displayed.
  6. Enter the password for login.
  7. Enter the authentication code received in your email or mobile phone.

    For users created through IAM, if no email address or mobile number is specified during user creation, only the login password needs to be authenticated.

  8. Click OK to download the access key file.

    Keep the AK/SK file properly to prevent information leakage.