Authentication

Updated at:

To call Aidge APIs, you must get an AccessKey ID and an AccessKey Secret from the RAM console. For details about request signature methods and SDK examples for various languages, see the Alibaba Cloud OpenAPI Developer Portal.

Get an AccessKey

To protect your account, we recommend creating a RAM user and using its AccessKey to call Aidge APIs. Avoid using the AccessKey of your Alibaba Cloud account (root account).

  1. Create a RAM user: Log on to the RAM console. On the Users page, create a RAM user and select Programmatic Access for the access mode.

  2. Grant permissions: Grant the RAM user the required permissions to call Aidge APIs. The RAM service code for Aidge is aidge. Aidge supports action-level authorization, where each API maps to an action (for example, aidge:TextTranslate). You can grant permissions for all actions or define a custom permission policy based on the principle of least privilege. For more information about permission policies, see the RAM Authorization Documentation.

  3. Create an AccessKey: On the RAM user's details page, create an AccessKey to get the AccessKey ID and AccessKey Secret.

  4. Securely store your keys: The AccessKey Secret is displayed only once upon creation. Save it immediately. Do not hard-code the secret in your source code. We recommend storing it in environment variables or using Key Management Service (KMS).

Security tip: Do not use the AccessKey of your Alibaba Cloud account (root account) for API calls.

Request signature and invocation

For details about the request structure, signature method, and SDK examples for various languages (such as Java, Python, and Go), see the Alibaba Cloud OpenAPI Developer Portal: Aidge OpenAPI Documentation.

Next steps