What are the differences between the below-secret manager dependencies and when to use what?
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>secretsmanager</artifactId>
<version>${aws-api.version-2}</version>
</dependency>
and
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-secretsmanager</artifactId>
<version>1.11.549</version>
</dependency>
CodePudding user response:
The AWS Java SDK that uses the software.amazon.awssdk
package name is Version 2 of the AWS SDK for Java.
The one that uses the com.amazonaws
package name is Version 1 of the AWS SDK for Java.