Describe the feature
The CRT client should have feature parity with the old client builder. Specifically, the CRT builder does not currently allow you to specify S3Configuration or modify the client to trust all certificates.
For example, the following is not possible with the CRT client:
S3AsyncClient.builder()
.endpointOverride(URI.create(S3_MOCK.getServiceEndpoint()))
.region(Region.US_EAST_2)
.credentialsProvider(
StaticCredentialsProvider.create(AwsBasicCredentials.create("foo", "bar")))
.serviceConfiguration(S3Configuration.builder().pathStyleAccessEnabled(true).build())
.httpClient(NettyNioAsyncHttpClient.builder().buildWithDefaults(AttributeMap.builder()
.put(TRUST_ALL_CERTIFICATES, Boolean.TRUE)
.build()))
.build();
Use Case
These configuration options are needed for supporting S3 mock implementations.
Proposed Solution
No response
Other Information
No response
Acknowledgements
AWS Java SDK version used
2.19.8
JDK version used
17.0.4
Operating System and version
Fedora 36
Describe the feature
The CRT client should have feature parity with the old client builder. Specifically, the CRT builder does not currently allow you to specify
S3Configurationor modify the client to trust all certificates.For example, the following is not possible with the CRT client:
Use Case
These configuration options are needed for supporting S3 mock implementations.
Proposed Solution
No response
Other Information
No response
Acknowledgements
AWS Java SDK version used
2.19.8
JDK version used
17.0.4
Operating System and version
Fedora 36