Tips only the x-amz-algorithm query parameter

hoanghuy.thong

New member
[TIẾNG VIỆT]:
** Chỉ cần tham số truy vấn X-AMZ-Algorithm cho chữ ký chữ ký AWS phiên bản 4 **

AWS Signature Phiên bản 4 là một quy trình ký hợp đồng cho các yêu cầu HTTP được thiết kế để sử dụng với Dịch vụ Web Services (AWS) của Amazon.Đó là một cách an toàn hơn để ký các yêu cầu so với phiên bản chữ ký 2 cũ hơn và cần thiết cho tất cả các dịch vụ AWS sử dụng quy trình ký phiên bản 4 của AWS.

Tham số truy vấn X-AMZ-Algorithm được sử dụng để chỉ định thuật toán ký nên được sử dụng cho yêu cầu.Giá trị hợp lệ duy nhất cho tham số này là "AWS4-HMAC-SHA256".

Ngoài tham số truy vấn X-AMZ-Algorithm, bạn cũng phải bao gồm các tham số truy vấn sau trong yêu cầu của bạn:

* X-AMZ-Date: Ngày và thời gian của yêu cầu, theo định dạng "Yyyy-MM-DDTHH: MM: SS.SSSZ".
* X-AMZ-Credential: ID khóa truy cập AWS và khóa truy cập bí mật, được phân tách bằng dấu hai chấm (":").
* X-AMZ SignedHeaders: Một danh sách các tiêu đề được phân tách bằng dấu phẩy được bao gồm trong quá trình ký.
* X-AMZ-Signature: Chữ ký của yêu cầu, được tính toán bằng thuật toán AWS4-HMAC-SHA256.

Để biết thêm thông tin về phiên bản chữ ký AWS 4, vui lòng xem [Tài liệu AWS] (Signing AWS API requests - AWS Identity and Access Management).

** Bài viết tham khảo: **

* [Tài liệu phiên bản 4 chữ ký AWS] (Signing AWS API requests - AWS Identity and Access Management)
* [AWS Chữ ký phiên bản 4 Bài đăng trên blog] (https://aws.amazon.com/blogs/security/aws-signature-version-4-new-signing-process-for-aws-apis/)
* [AWS Chữ ký Phiên bản 4 Câu hỏi thường gặp] (https://aws.amazon.com/premiumsupport/knowledge-center/aws-signature-version-4-faq/)

[ENGLISH]:
**Only the x-amz-algorithm query parameter is required for AWS Signature Version 4 signing**

AWS Signature Version 4 is a signing process for HTTP requests that is designed to be used with Amazon Web Services (AWS) services. It is a more secure way to sign requests than the older Signature Version 2, and it is required for all AWS services that use the AWS Signature Version 4 signing process.

The x-amz-algorithm query parameter is used to specify the signing algorithm that should be used for the request. The only valid value for this parameter is "AWS4-HMAC-SHA256".

In addition to the x-amz-algorithm query parameter, you must also include the following query parameters in your request:

* x-amz-date: The date and time of the request, in the format "YYYY-MM-DDTHH:MM:SS.SSSZ".
* x-amz-credential: The AWS access key ID and secret access key, separated by a colon (":").
* x-amz-signedheaders: A comma-separated list of the headers that are included in the signing process.
* x-amz-signature: The signature of the request, calculated using the AWS4-HMAC-SHA256 algorithm.

For more information on AWS Signature Version 4, please see the [AWS documentation](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).

**Reference articles:**

* [AWS Signature Version 4 documentation](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html)
* [AWS Signature Version 4 blog post](https://aws.amazon.com/blogs/security/aws-signature-version-4-new-signing-process-for-aws-apis/)
* [AWS Signature Version 4 FAQ](https://aws.amazon.com/premiumsupport/knowledge-center/aws-signature-version-4-faq/)
 
Join Telegram ToolsKiemTrieuDoGroup
Back
Top