Skip to content

Better Documentation for using S3 Async Client with KMS encrypted buckets #1111

Closed
@kibbled

Description

@kibbled

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions