Skip to content

Instantly share code, notes, and snippets.

@designfrontier
Created March 17, 2021 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save designfrontier/3628002aef21c4c80913cd8dc28b3f9e to your computer and use it in GitHub Desktop.
Save designfrontier/3628002aef21c4c80913cd8dc28b3f9e to your computer and use it in GitHub Desktop.
aws-auth-error-decode
#!/usr/bin/env bash
aws sts decode-authorization-message --encoded-message "$1" --query DecodedMessage --output text | jq '.'
@designfrontier
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment