簡體   English   中英

調用 GenerateServiceLastAccessedDetails 時拒絕訪問

[英]AccessDenied when calling the GenerateServiceLastAccessedDetails

我假設的角色附加了arn:aws:iam::aws:policy/SecurityAudit策略,其中包括必要的權限

"iam:GenerateServiceLastAccessedDetails",
"iam:Get*",
"iam:List*"

在資源*上。 但是我仍然收到An error occurred (AccessDenied) when calling the GenerateServiceLastAccessedDetails operation: User: <assumed_role> is not authorized to perform the operation on <role_arn> 它是 AWS 中的錯誤嗎?

我發現當請求中的arn無效時會出現這種情況。 錯誤消息是一個錯誤,它是一個無效的輸入,而不是訪問被拒絕的問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM