Created
February 19, 2020 06:31
-
-
Save markymarkus/4a8006f8c219ef9ea08c36c7404d5e39 to your computer and use it in GitHub Desktop.
kms encrypt / decrypt
This file contains 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
aws kms encrypt --key-id #### --plaintext "onetwothree 123" --query CiphertextBlob --output text | base64 --decode > out.blob | |
aws kms decrypt --key-id #### --ciphertext-blob fileb://out.blob --query Plaintext --output text | base64 --decode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment