Created
March 1, 2019 01:02
-
-
Save wwiill/a4b6e2346754d550e148e08a284c0a6b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KEY_ID=$1 | |
UNENCRYPTED=$2 | |
aws kms encrypt --key-id $KEY_ID --plaintext "$UNENCRYPTED" --query CiphertextBlob --output text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment