For encrypting and decrypting using a specific key from amazons kms
sudo pip3 install --upgrade kmsclient
The aws access key and secret key is not needed if stored as environment variables, system properties or the aws credentials file in the user's home. One way to do this is by executing mai prior to the kms-client. Alternatively add the necessary aws keys as seen in the options section
kmsclient encrypt <value> <region> <AWS key UUID>
kmsclient decrypt <value> <region>
The values input and returned are in base 64 UTF-8
-ak AWS access key
-sk AWS secret key
-c Copy to clipboard