-
Notifications
You must be signed in to change notification settings - Fork 970
Closed
Labels
bugThis issue is a bug.This issue is a bug.
Description
Describe the bug
In the earlier version of aws java SDK, we used to connect with aws s3 using the following code snippet
AmazonS3EncryptionClientV2Builder.standard(). .withCredentials(<Object of AWSSessionCredentialsProvider>) .withEncryptionMaterialsProvider() .withKmsClient() .withEndpointConfiguration().build
Expected Behavior
As it used to support AWSSessionCredentialsProvider in earlier versions so was expecting it to work with new version as well
or if there is any alternative of this?
Current Behavior
Getting error that credentialProvider() in aws-sdk-java-v2 does not take AwsSessionCredentialsProvider as input
Reproduction Steps
NA
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.25.10
JDK version used
java17
Operating System and version
rhel8
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.