Created
March 17, 2021 20:51
-
-
Save designfrontier/3628002aef21c4c80913cd8dc28b3f9e to your computer and use it in GitHub Desktop.
aws-auth-error-decode
This file contains 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
#!/usr/bin/env bash | |
aws sts decode-authorization-message --encoded-message "$1" --query DecodedMessage --output text | jq '.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
usage:
aws-auth-error-decode {error from aws message here}
You'll need to have a token in your env that has the correct permissions