Updated on 2022-09-06 GMT+08:00

AK/SK Authentication Process

The AK/SK-based authentication process at the client is as follows:

  1. Construct a standard request.

    Assemble the request content according to the rules of API Gateway, ensuring that the client signature is consistent with that in the backend request.

  2. Create a to-be-signed string using the standard request and other related information.
  3. Calculate a signature using the AK/SK and to-be-signed string.
  4. Add the generated signature to an HTTP request as a header or query string.

The following describes the process in detail.

You can follow the instructions provided in this chapter to sign API requests.

You can also call APIs by using the signing SDKs and sample code of common languages described in Signing SDKs and Demo.