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

ebs + unsignedPayloadTrait support #567

Merged
merged 9 commits into from
Jul 2, 2021
Merged

ebs + unsignedPayloadTrait support #567

merged 9 commits into from
Jul 2, 2021

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Jun 30, 2021

Issue #, if available: Fixes #403, #569

Description of changes:

  1. Add support for the "unsignedPayoad" Smithy trait. When an operation is targetted with this trait, rather than signing the body of the operation, we will sign the literal string Unsigned-Payload.

This is the same behavior that will occur if the body is streaming and not directly signable.

  1. Add an EBS example which utilizes this new signing behavior.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

1. Add support for the "unsignedPayoad" Smithy trait. When an operation is targetted with this trait, rather than signing the body of the operation, we will sign the literal string `Unsigned-Payload`.

This is the same behavior that will occur if the body is streaming and not directly signable.

2. Add an EBS example which utilizes this new signing behavior.
@rcoh rcoh requested a review from jdisanti June 30, 2021 17:59
@rcoh rcoh merged commit 33348f2 into main Jul 2, 2021
@rcoh rcoh deleted the ebs branch July 2, 2021 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support the SigV4 unsigned payload trait
2 participants