This topic explains how to install and use version 3.x of the Java client-side encryption library for DynamoDB. For details about programming with the AWS Database Encryption SDK for DynamoDB, see the Java examples in the aws-database-encryption-sdk-dynamodb repository on GitHub.
PrerequisitesBefore you install version 3.x of the Java client-side encryption library for DynamoDB, be sure you have the following prerequisites.
You will need Java 8 or later. On the Oracle website, go to Java SE Downloads, and then download and install the Java SE Development Kit (JDK).
If you use the Oracle JDK, you must also download and install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files.
The AWS Database Encryption SDK for DynamoDB requires the DynamoDB Enhanced Client module of the AWS SDK for Java 2.x. You can install the entire SDK or just this module.
For information about updating your version of the AWS SDK for Java, see Migrating from version 1.x to 2.x of the AWS SDK for Java.
The AWS SDK for Java is available through Apache Maven. You can declare a dependency for the entire AWS SDK for Java, or just the dynamodb-enhanced
module.
To import the entire AWS SDK for Java as a dependency, declare it in your pom.xml
file.
To create a dependency only for the Amazon DynamoDB module in the AWS SDK for Java, follow the instructions for specifying particular modules. Set the groupId
to software.amazon.awssdk
and the artifactID
to dynamodb-enhanced
.
If you use the AWS KMS keyring or AWS KMS Hierarchical keyring, you also need to create a dependency for the AWS KMS module. Set the groupId
to software.amazon.awssdk
and the artifactID
to kms
.
You can install version 3.x of the Java client-side encryption library for DynamoDB in the following ways.
The Amazon DynamoDB Encryption Client for Java is available through Apache Maven with the following dependency definition.
<dependency>
<groupId>software.amazon.cryptography</groupId>
<artifactId>aws-database-encryption-sdk-dynamodb</artifactId>
<version>version-number
</version>
</dependency>
You can use Gradle to declare a dependency on The Amazon DynamoDB Encryption Client for Java by adding the following to the dependencies section of your Gradle project.
implementation("software.amazon.cryptography:aws-database-encryption-sdk-dynamodb:version-number
")
To install the Java client-side encryption library for DynamoDB, clone or download the aws-database-encryption-sdk-dynamodb GitHub repository.
After you install the SDK, get started by looking at the example code in this guide and the Java examples in the aws-database-encryption-sdk-dynamodb repository on GitHub.
Programming languages
Using the Java client
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4