Guest User

Untitled

a guest
Nov 19th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. _INPUT=$1
  4.  
  5.  
  6. cat $_INPUT \
  7. | aws kms decrypt \
  8. --ciphertext-blob fileb://<(cat -) \
  9. --output text \
  10. --query Plaintext \
  11. | base64 --decode
Add Comment
Please, Sign In to add comment