AK/SK Authentication Process
The AK/SK-based authentication process at the client is as follows:
- 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.
- Create a to-be-signed string using the standard request and other related information.
- Calculate a signature using the AK/SK and to-be-signed string.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.