Class AwsSignatureV4RequestInterceptor

  • All Implemented Interfaces:
    feign.RequestInterceptor

    
    public final class AwsSignatureV4RequestInterceptor
     implements RequestInterceptor
                        

    Feign RequestInterceptor that signs http requests with Signature V4. Uses the AWS SDK V1.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit apply(RequestTemplate template)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AwsSignatureV4RequestInterceptor

        AwsSignatureV4RequestInterceptor(AWSCredentialsProvider awsCredentialsProvider, String service, Region region)
        Parameters:
        awsCredentialsProvider - the AWSCredentialsProvider used to sign the request
        service - the service to sign the requests for.
        region - the region
    • Method Detail

      • apply

         Unit apply(RequestTemplate template)