Lattis / aws-request-signing-apache-interceptor

Provides AWS Signing implementation of Apache Interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Request Signing Interceptor

An AWS request signing interceptor for arbitrary HttpRequests.

This enables you to sign requests to any service that leverages SigV4 this means you have a client that can access any AWS Service or APIGW backed service.

License

This library is licensed under the Apache 2.0 License.

Usage

AWS4Signer signer = new AWS4Signer();
    signer.setServiceName(serviceName);
    signer.setRegionName(AWS_REGION);

HttpRequestInterceptor interceptor = new AWSRequestSigningApacheInterceptor(serviceName, signer, credentialsProvider);

HttpClients.custom()
    .addInterceptorLast(interceptor)
    .build();

Examples

See examples directory for a few valid requests.

About

Provides AWS Signing implementation of Apache Interface.

License:Apache License 2.0


Languages

Language:Java 100.0%