Skip to content

Unable to use ClientOverrideConfiguration to set SignerOverride. #3303

Answered by debora-ito
Fais-007 asked this question in Q&A
Discussion options

You must be logged in to vote

Overriding the signer is now a SdkAdvancedClientOption:

S3Client s3Client = S3Client.builder()
                .overrideConfiguration(c->c.putAdvancedOption(SdkAdvancedClientOption.SIGNER, {a Signer class}))
                .build();

Note that normally you don't need to override the signer, the default SDK signer should be sufficient for aws operations.

And, for future reference, this doc is helpful with migrating from SDK v1 to v2:
https://github.com/aws/aws-sdk-java-v2/blob/master/docs/LaunchChangelog.md

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by yasminetalby
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants