简体   繁体   中英

What is the exact difference between AWS artifactId secretsmanager and aws-java-sdk-secretsmanager

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>

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM