File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
src/main/java/software/amazon/encryption/s3 Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 7575 <groupId >software.amazon.awssdk</groupId >
7676 <artifactId >kms</artifactId >
7777 <version >2.28.28</version >
78- <optional >true</optional >
7978 </dependency >
8079
8180 <!-- Used when enableMultipartPutObject is configured -->
Original file line number Diff line number Diff line change @@ -1139,11 +1139,6 @@ public S3EncryptionClient build() {
11391139 .secureRandom (_secureRandom )
11401140 .build ();
11411141 } else if (_kmsKeyId != null ) {
1142- try {
1143- Class .forName ("software.amazon.awssdk.services.kms.KmsClient" );
1144- } catch (ClassNotFoundException e ) {
1145- throw new RuntimeException ("software.amazon.awssdk:kms is required to set up with KMS key" , e );
1146- }
11471142 KmsClient kmsClient = KmsClient .builder ()
11481143 .credentialsProvider (_awsCredentialsProvider )
11491144 .region (_region )
You can’t perform that action at this time.
0 commit comments