내용으로 건너뛰기

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년 전1.5천회 조회

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.