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

Authentication

Requests for calling an API can be authenticated only using the following method:

  • AK/SK-based authentication: Requests are authenticated by encrypting the request body using an AK/SK pair.

AK/SK-based Authentication

The AK/SK can be either a permanent access key or a temporary access key. If it is a temporary access key, the HTTP request header X-Security-Token must be contained.

AK/SK-based authentication supports API requests with a body not larger than 12 MB.

In AK/SK-based authentication, AK/SK is used to sign requests and the signature is then added to the requests for authentication.

  • AK: access key ID, which is a unique identifier used in conjunction with a secret access key to sign requests cryptographically.
  • SK: secret access key used in conjunction with an AK to sign requests cryptographically. It identifies a request sender and prevents the request from being modified.
In AK/SK-based authentication, you can use an AK/SK to sign requests based on the signature algorithm or use the signing SDK to sign requests.

The signing SDK is only used for signing requests and is different from the SDKs provided by services.