his is the sixth post on information vault taken from John Crickett coding exercises. In this installment encryption for Private Data is added and also the retrieval of said data in plain text for when there is need for it. With this simple code it is almost unreasonable to have plaintext Private Data while using AWS DynamoDb, the downside is that full text search is not possible on these fields so a different approach is needed. All the code can be found on. https://github.com/mtzmontiel/dip-data-vault To continue from previous posts which can be found here: Post 1 - Problem Statement Post 2 - Security Context Post 3 - API Design (initial) Post 4 - Initial code - Behavior Driven Development against mocks Post 5 - Implementation part 1 Now to add actual Private Data Storing with Encryption I’ll be using DynamoDb Encryption Client which uses AWS Key Management System as materials provider for encryption. First we need to define the Customer Managed Key that will be used, thi...
Sometimes Information Technology befuddles me and so does programming, here you will find my attempts to gain insights or fall deep in IT. Here be dragons