jest

Signing AWS HTTP requests with Apache HttpComponents Client

99封情书 提交于 2019-11-29 06:17:43
I'm trying to make HTTP requests to an AWS Elasticsearch domain protected by an IAM access policy. I need to sign these requests for them to be authorized by AWS. I'm using Jest , which in turn use Apache HttpComponents Client . This seems to be a common use case and I was wondering if there is out there some kind of library which I can use on top of Apache HttpComponents Client to sign all the requests. I think I found it! :) This project seems to do exactly what I want : aws-signing-request-interceptor , described as "Request Interceptor for Apache Client that signs the request for AWS.