Last active
January 17, 2018 18:43
-
-
Save deybhayden/3a051b62e319013486e27ff1d3d232eb to your computer and use it in GitHub Desktop.
decode_sts.sh
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
sts-decode() { | |
aws sts decode-authorization-message --encoded-message "$1" | jq '.DecodedMessage | fromjson' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment