作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
尽管我是该帐户的管理员,但我在特定 EC2 上添加了如下 IAM 角色,但仍然遇到相同的错误:
An error occurred (InvalidAuthorizationMessageException) when calling the DecodeAuthorizationMessage operation: Not authorized to decode message
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sts:DecodeAuthorizationMessage"
],
"Resource": [
"*"
]
}
]
}
最佳答案
此错误消息具有误导性。您有权对消息进行解码,但发送的消息无效以进行解码。
InvalidAuthorizationMessage
The error returned if the message passed to DecodeAuthorizationMessage was invalid. This can happen if the token contains invalid characters, such as linebreaks.
A client error (AccessDenied) occurred when calling the DecodeAuthorizationMessage operation
关于amazon-web-services - AWS - DecodeAuthorizationMessage 未获授权解码消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59443206/
我是一名优秀的程序员,十分优秀!