nmccready / aws-play

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS KMS

Node

npm install -g @znemz/aws-play

Expects KMS_ID to be available / exported

echo abcd | awsKmsEncrypt -e base64 -k alias/demo | awsKmsDecrypt -e base64
abcd

echo abcd | awsKmsEncrypt -e base64 -k alias/demo
AQICAHj/6a1KHdB7qaXDbeWQ9K48M0vQfukO9weGdqwlCJ2ehQE2GJx31AA8adTIcCOKmJf9AAAAYzBhBgkqhkiG9w0BBwagVDBSAgEAME0GCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQMltAgB55xMNmhaLR3AgEQgCAJVDr5cdtjELQwHbtzWbAwwWD/iTVWPpoD9qpnqW2iZg==%

Go

go get github.com/nmccready/aws-play/aws/kms/encrypt go get github.com/nmccready/aws-play/aws/kms/decrypt

$ echo abcd | encrypt -e base64 | decrypt -e base64
abcd

About

License:MIT License


Languages

Language:Go 52.3%Language:JavaScript 47.7%