如何解决 STS 临时凭证报错 is not authorized to perform: sts:assumerole on resource?

如何解决 STS 临时凭证报错 is not authorized to perform: sts:assumerole on resource?

中国区用户要获得临时凭证。根据如下链接操作时,报错,is not authorized to perform: sts:assumerole on resource 请问可能是何种问题呢? [https://docs.aws.amazon.com/zh_cn/IAM/latest/UserGuide/id_credentials_temp.htm](https://docs.aws.amazon.com/zh_cn/IAM/latest/UserGuide/id_credentials_temp.html)
如何解决 STS 临时凭证报错 is not authorized to perform: sts:assumerole on resource? 2024-04-17 11:22:53
如何解决 STS 临时凭证报错 is not authorized to perform: sts:assumerole on resource? 0
如何解决 STS 临时凭证报错 is not authorized to perform: sts:assumerole on resource?
需要在 IAM 对应的 role 那里更改 Trust Relationships 允许 assume role 操作