Signing requests of Java High Level REST Client

I am using AWS Elasticsearch service. To implement proper security policies, we need to sign requests sent to elasticsearch. We are using Java High Level REST Client to query elasticsearch.

Is it possible to sign (by sign, I mean adding provided Authorization header with each request) requests made by Java High Level REST Client library? If so, how?
Here is the maven repo I am using:

https://mvnrepository.com/artifact/org.elasticsearch.client/elasticsearch-rest-high-level-client/6.2.2

I think that this page https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-low-usage-initialization.html#java-rest-low-usage-initialization says how to add a BasicHeader.

BTW did you look at cloud.elastic.co and https://aws.amazon.com/marketplace/pp/B01N6YCISK ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.