Created
March 1, 2019 01:03
-
-
Save wwiill/ee8ca6d8d1b956b9c852fd4be028ace9 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 | |
ENCRYPTED_BIN_FILE=$1 | |
aws kms decrypt --ciphertext-blob fileb://$ENCRYPTED_BIN_FILE --query Plaintext --output text | base64 --decode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment