Skip to content

Instantly share code, notes, and snippets.

@bitnot
Created April 8, 2019 15:11
Show Gist options
  • Select an option

  • Save bitnot/ab9be66a24fa42af383f483eb457c29b to your computer and use it in GitHub Desktop.

Select an option

Save bitnot/ab9be66a24fa42af383f483eb457c29b to your computer and use it in GitHub Desktop.

Revisions

  1. bitnot created this gist Apr 8, 2019.
    1 change: 1 addition & 0 deletions kmsdecode.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    alias kmsdecode='f(){aws kms decrypt --ciphertext-blob fileb://<(echo $1 | base64 --decode) --output text --query Plaintext }; f'