AWS KMS Boilerplate
This repository contains the example code for the blog post "Painlessly storing security sensitive data using AWS KMS and OpenSSL"
Usage
- Setup your AWS account
- Create an AWS KMS Customer Master Key as described and assign an alias to it as described in step 1 and 2 of the article.
- Place your security sensitive data such as API keys, database credentials etc. in the
.decrypted/
folder. - For encryption execute
./bin/encrypt --kms_key_id=alias/your-key
. - For decryption execute
./bin/decrypt
. - Note: activate the debugging mode by passing
--debug=true
into the script
License
This distribution is covered by the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007.
Support & Contact
Having trouble with this repository? Check out the documentation at the repository's site or contact m@matchilling.com and weβll help you sort it out.
Happy Coding