aws-play

module
v0.1.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: MIT

README

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

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL