Sign and make HTTPs requests to AWS services in pure AWS SDK v2.
Loosely inspired by aws-request-signing-apache-interceptor, minus the interceptor.
To run the OpenSearch sample, replace the values of host
and region
in the source and run the following.
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export AWS_SESSION_TOKEN=
mvn compile exec:java -Dexec.mainClass="org.dblock.AmazonOpenSearchServiceSample"
Copyright AWS SDK v2 SigV4 Demo Contributors. See NOTICE for details.
This demo is licensed under the Apache 2.0 License.