- Function Overview
- What's New
- Service Overview
- Getting Started
-
User Guide
- Configuration Management
- HTTP Proxy
- Commonly Used Commands
-
Options
- Option Overview
- Printing Help Information
- Printing Debugging Information
- Generating API Input Parameter Skeleton in JSON Format
- Checking Command
- Specifying Region
- Calling APIs with AK/SK in Non-configuration Mode
- Specifying Account ID
- Specifying Profile
- Specifying Authentication Mode
- Specifying Output Format
- Passing API Parameters with JSON File
- Specifying Request Timeouts
- Specifying Retry Count
- Skipping HTTPS Request Certificate Verification
- Specifying a Domain Name
- Polling Results
- Obtaining CLI Examples on API Explorer
- Using KooCLI in Non-configuration Mode
- Online Experience
- Obtaining Authentication Information
-
FAQs
- Overview
- Authentication
- Profiles
- Metadata Cache
- Logs
- Network Connections
- Cloud Services
- Cloud Service APIs
- Regions
-
Parameters
- What Are KooCLI System Parameters?
- Why Am I Seeing a Message Indicating an Invalid Parameter?
- Why Are Old and New KooCLI System Parameters (Such as region and cli-region) Available? Which Parameters Are Recommended?
- Why Am I Seeing a Message Indicating a Duplicate Parameter?
- How Do I Use cli-jsonInput?
- When Can I Use cli-jsonInput?
- Why Am I Seeing a Message Indicating an Unsupported Parameter Position or Type?
- How Do I Leave a Body Parameter Empty for Cloud Service APIs?
- Interactive Mode and Autocomplete
-
Output Formats
- What Output Formats Are Supported by KooCLI?
- How Do I Define a JMESPath Expression?
- Which KooCLI System Parameters Are Related to Data Output? Which Ones Are Recommended?
- How Do I Use cli-output, cli-query, and cli-output-num?
- How Do I Use cli-output-rows, cli-output-cols, and cli-output-num? What Are the Precautions?
- How Do I Use cli-json-filter? What Are the Precautions?
- Other
- Videos
- General Reference
Copied.
Obtaining a Permanent AK/SK
Access keys (AK/SK) are an authentication mechanism of IAM. They are used to encrypt the signature of a request, ensuring that the request is secure and integral, and that identities of the request sender and receiver are correct.
- AK: a unique ID associated with an SK. It is used together with the SK to sign requests.
- SK: a key used together with the AK to sign requests. The AK and SK identify senders and prevent requests from being altered.
Constraint
You can create up to two access keys, which are permanently valid.
Viewing a Downloaded Access Key
If you have generated and downloaded an access key (AK/SK), find the local AK/SK file, which is generally named credentials.csv.
As shown in the following figure, the file contains a username, AK, and SK.

Creating an Access Key
If no AK/SK file has been generated or can be found locally, create another access key.
- Log in to the console.
- On the top navigation menu, hover over the username and choose My Credentials.
- On the My Credentials page, choose Access Keys > Create Access Key.
- In the Create Access Key dialog box that is displayed, enter the password and verification code.
NOTE:
- If no email address and mobile number have been bound to your account, enter only the login password.
- If you have bound an email address or mobile number to your account, verify your identity using either of them
- Click OK.
- Save the access key as prompted. The access key is saved in the default download folder of the browser.
NOTE:
- Keep the access key secure. If you click Cancel in the download dialog box, the access keys will not be downloaded and cannot be downloaded later. You can create a new one if required.
- Rotate the access key (AK/SK) periodically.
- Open the downloaded credentials.csv file to obtain the access key (AK/SK).
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot