-
Notifications
You must be signed in to change notification settings - Fork 954
V4a async payload signing #6475
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
Conversation
966149f to
ef5d53f
Compare
d4f0f87 to
5ac3968
Compare
core/crt-core/src/main/java/software/amazon/awssdk/crtcore/CrtRequestBodyAdapter.java
Show resolved
Hide resolved
...a/software/amazon/awssdk/services/s3/functionaltests/MultiRegionAccessPointChecksumTest.java
Show resolved
Hide resolved
...ava/software/amazon/awssdk/http/auth/aws/crt/internal/signer/AwsChunkedV4aPayloadSigner.java
Show resolved
Hide resolved
...ava/software/amazon/awssdk/http/auth/aws/crt/internal/signer/AwsChunkedV4aPayloadSigner.java
Show resolved
Hide resolved
...ava/software/amazon/awssdk/http/auth/aws/crt/internal/signer/AwsChunkedV4aPayloadSigner.java
Show resolved
Hide resolved
...ava/software/amazon/awssdk/http/auth/aws/crt/internal/signer/AwsChunkedV4aPayloadSigner.java
Outdated
Show resolved
Hide resolved
...ava/software/amazon/awssdk/http/auth/aws/crt/internal/signer/DefaultAwsCrtV4aHttpSigner.java
Outdated
Show resolved
Hide resolved
5ac3968 to
802f635
Compare
a5b7bd0 to
dbb0e6a
Compare
6fe5c9e to
f5876e0
Compare
|
Per API review, doing a minor version bump since mismatched (new) |
...ava/software/amazon/awssdk/http/auth/aws/crt/internal/signer/AwsChunkedV4aPayloadSigner.java
Outdated
Show resolved
Hide resolved
|
|
This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one. |



Motivation and Context
This PR adds support for async payload signing in the V4a signer. Note an important difference to the V4 implementation: This supports the fallback to signing the payload when the request is sent over
http. This is because calling thesignAsync()method previously always threwUnsupportedOperationException, so there is no risk of performance regression for existing users.Modifications
Testing
Screenshots (if appropriate)
Types of changes
Checklist
mvn installsucceedsscripts/new-changescript and following the instructions. Commit the new file created by the script in.changes/next-releasewith your changes.License