Implementing the client-side encryption for the DynamoDB data

It's been quite a long time since Cloud has been in production, but some people still have concerns about the security it provides. Also, it's always good to have additional levels of security to make sure that the data is safe. In order to do so, in this recipe, we are going to see how to encrypt data before saving it in a DynamoDB table.

Getting ready

To perform this recipe, you should know how to use the AWS SDK for Java, especially its object persistence model. Refer to Chapter 5, Exploring Higher Level Programming Interfaces for DynamoDB, for more details.

How to do it…

To get started with this recipe, we need to create a maven project and add the following dependencies to it:

  1. Add dependencies ...

Get DynamoDB Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.