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
- Log in to the AI DataLake console.
- Hover over the username in the upper right corner and choose My Credentials from the drop-down list.
- Click the Access Keys tab.
- Click Add Access Key.
- Enter an access key description (optional) and click OK.
- Enter the verification code or password for identity authentication.
- Click OK to generate and download the access key file (.csv).
- Open the .csv file to obtain the access key ID (AK) and secret access key (SK) of the user.
Parent topic: Python SDKs
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot