Skip to content

Instantly share code, notes, and snippets.

@MrPink
Created July 1, 2020 16:08
Show Gist options
  • Save MrPink/61d81c7bdbb274d9615cf77e639c1371 to your computer and use it in GitHub Desktop.
Save MrPink/61d81c7bdbb274d9615cf77e639c1371 to your computer and use it in GitHub Desktop.
Shell tidbits
get a list of KMS keys and describe them
for key in `aws kms list-keys | jq '.Keys[].KeyId' | tr -d '"'`; do aws kms describe-key --key-id $key; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment