Updated on 2026-11-06 GMT+08:00

AK/SK Obtaining

The Python SDKs of AI DataLake use the Access Key ID/Secret Access Key (AK/SK) authentication to access services. You must obtain your access keys before using the SDKs.

Notes and Constraints

  • Hard-coded or plaintext AK/SK is risky. You are advised to store them in the configuration files or environment variables.
  • When using a temporary AK/SK pair, you must also configure a security token. Since temporary credentials have a validity period, they are recommended only for testing purposes.

Procedure

  1. Log in to the AI DataLake console.
  2. Hover over the username in the upper right corner and choose My Credentials from the drop-down list.
  3. Click the Access Keys tab.
  4. Click Add Access Key.
  5. Enter an access key description (optional) and click OK.
  6. Enter the verification code or password for identity authentication.
  7. Click OK to generate and download the access key file (.csv).
  8. Open the .csv file to obtain the access key ID (AK) and secret access key (SK) of the user.