Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

mulesoft-labs/aws-request-signing-apache-interceptor

 
 

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

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%