mhart / aws4

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

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

Open dblock opened 2 months ago

dblock commented 2 months 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.