Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SigV4 Signer Design #955

Merged
merged 4 commits into from
Dec 10, 2020
Merged

Update SigV4 Signer Design #955

merged 4 commits into from
Dec 10, 2020

Conversation

skmcgrail
Copy link
Member

@skmcgrail skmcgrail commented Dec 9, 2020

Updates the SigV4 signer design to allow for overriding of signer configuration when invoking SignHTTP or PresignHTTP.

Fixes: #917
Fixes: #960
Fixes: #958

Copy link
Contributor

@jasdel jasdel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we probably want to included the suffix Middleware on the SignHTTPRequest and PresignHTTPRequest types since they are in the same package as the signing and presign implementations. If they were in their own package separate from the Signer/Presigner, and HTTPSigner/HTTPPresigner types then probably wouldn't need the suffix, but since they are together, I can the type names being confusing.

aws/signer/v4/middleware.go Outdated Show resolved Hide resolved
aws/signer/v4/middleware.go Outdated Show resolved Hide resolved
aws/signer/v4/presign_middleware.go Outdated Show resolved Hide resolved
aws/signer/v4/presign_middleware.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants