跳至內容

How do I find out if an IAM role is in used

0

I am doing some house cleaning for IAM roles.

  1. How do I filter by roles that are manually created
  2. How do I find out the dependency of each role (if any)

已提問 3 年前檢視次數 1477 次

1 個回答
1
已接受的答案

Hello.

How do I filter by roles that are manually created

I find it difficult to filter manually created ones.
IAM roles that are automatically created when using AWS services often start with the prefix "Amazon" or "AWS".

How do I find out the dependency of each role (if any)

To check when an IAM role was used, I think it's a good idea to check "Last activity" on the IAM role screen.
a

You may be able to see which resources used an IAM role in CloudTrail's API history.
https://repost.aws/knowledge-center/view-iam-history

專家

已回答 3 年前

專家

已審閱 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。