Skip to content

Is it possible to replace the default V4 signer with a custom signer? #2428

Answered by lucix-aws
alberto-miranda asked this question in Q&A
Discussion options

You must be logged in to vote

If you're just trying to modify the signing behavior in place you don't have to touch the middleware. Options for services that use sigv4 (so basically all of them) have an HTTPSignerV4 field that you can set (example).

The authentication resolution workflow and signing can be heavily modified (again, without having to deal with middleware), see https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/auth/. For what you're describing though modification of that field on options should suffice.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cajund
Comment options

@cajund
Comment options

Answer selected by lucix-aws
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants