Class DefaultV4RequestSigner
java.lang.Object
software.amazon.awssdk.http.auth.aws.internal.signer.DefaultV4RequestSigner
- All Implemented Interfaces:
V4RequestSigner
The default implementation of a v4-request-signer. It performs each step of the SigV4 signing process, but does not add the
signature or auth information to the request itself.
All signing information, such as signature, signing key, canonical request, etc. is present in result object that is returned. This can be used by the caller to add the auth info to the request, such as adding the signature as a query parameter or building an authorization header using the signature and canonical request headers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsign
(SdkHttpRequest.Builder requestBuilder) Given a request builder, sign the request and return a result containing the signed request and its properties.
-
Constructor Details
-
DefaultV4RequestSigner
-
-
Method Details
-
sign
Description copied from interface:V4RequestSigner
Given a request builder, sign the request and return a result containing the signed request and its properties.- Specified by:
sign
in interfaceV4RequestSigner
-