Researched and Implemented in Springboot functionalities of AWS KMS
Compiled using Maven
Before running, generated CMK from KMS console and add keyARN value to String keyARN in AWSKMS class. path the file to be edited - \demo\src\main\java\com\example\demo\kmsexamples
Run server - /encryptAndDecrypt uses CMKs to encrypt and decrypt data /datakeyGeneration uses CMKs to generate data key, encrypted and plaintext