Interface HttpSigner<IdentityT extends Identity>

  • Type Parameters:
    IdentityT - The type of the identity.
    All Known Implementing Classes:
    NoOpHttpSigner

    @SdkPublicApi
    public interface HttpSigner<IdentityT extends Identity>
    Interface for the process of modifying a request destined for a service so that the service can authenticate the SDK customer’s identity.

    You can configure the signer by first implementing a custom AuthScheme returning this signer and then configuring the AuthSchemes on the client builder via SdkClientBuilder#putAuthScheme(AuthScheme).

    Example - Custom signer implementation: {@snippet : S3AsyncClient s3 = S3AsyncClient.builder() .region(Region.US_WEST_2) .credentialsProvider(CREDENTIALS) .putAuthScheme(new CustomSigV4AuthScheme()) .build(); public class CustomSigV4AuthScheme implements AwsV4AuthScheme {