Skip to content

iZettle/aws-request-signing-apache-interceptor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%