QuestionAccepted answer
AWS EC2 'You are not authorized to perform this operation. Encoded authorization failure message:'
jlo-gmail
07 Oct 2020, 01:24 UTC
78K views1
I am attempting to create an EC2 instance and get the following error message. How do I decode it ?
Launch Failed
You are not authorized to perform this operation. Encoded authorization failure message: KDmmJmkLKmQhatEqYt...MN3iUtfAa
1 answer
Accepted answer · original discussion
jlo-gmail
Permalink09 Oct 2020, 01:24 UTC
use the following aws cli command from the console or CloudShell:
aws sts decode-authorization-message --encoded-message KDmmJmkLKm...iUtfAa
1 question comment
Use comments to ask for clarification. Post a solution as an answer.
John RotensteinPermalink
11 Oct 2020, 01:24 UTC
FYI, the reason that the message is encoded is that the message can convey information about security (eg which security groups are permitted). Revealing this information could reduce security. Only people with permission to decode the message can access this information.