You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
There is no equivalent of v1 AWSSessionCredentialsProvider in v2. But you will find all the implementing classes of AWSSessionCredentialsProvider implemented in v2 as well. Kindly refer to AwsCredentialsProvider for more details.
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
The text was updated successfully, but these errors were encountered: