/kmsclient

Helper script to encrypt and decrypt data using Amazon KMS

Primary LanguagePythonOtherNOASSERTION

Amazon KMS Client

For encrypting and decrypting using a specific key from amazons kms

Install

sudo pip3 install --upgrade kmsclient

Instructions

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

Options

-ak AWS access key
-sk AWS secret key
-c Copy to clipboard