mhart / aws4

Signs and prepares Node.js requests using AWS Signature Version 4
MIT License
699 stars 175 forks source link

Added X-Amz-Content-Sha256 for aoss. #169

Open dblock opened 1 month ago

dblock commented 1 month ago

Amazon Serverless OpenSearch requires X-Amz-Content-Sha256 too.

https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-clients.html

We've been having to add it in a lot of places, e.g. https://github.com/jamesmbourne/aws4-axios/pull/1621 or https://github.com/opensearch-project/opensearch-js/pull/366.