Closed
Description
This isn't a bug request but a simple ask that there be additional documentation and code samples for when using S3 with KMS such as follows:
return S3AsyncClient.builder()
// checksum validation must be disabled when using S3 Async with KMS encryption
.serviceConfiguration { it.checksumValidationEnabled(false) }
.build()
I could not locate any anything that documented the use of checksumValidationEnabled, we had to dig through the SDK code. If you do not disable checksum validation you will get the following exception, which also could perhaps provide hints about async/kms.
java.util.concurrent.ExecutionException: software.amazon.awssdk.core.exception.SdkClientException: Data read has a different checksum than expected.