Ir para o conteúdo

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)

feita há 3 anos1,5 mil visualizações

1 Resposta
1
Resposta aceita

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

ESPECIALISTA

respondido há 3 anos

ESPECIALISTA

avaliado há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Conteúdo relevante