By using AWS re:Post, you agree to the Terms of Use

IAM roles rightsizing


How should one be rightsizing IAM roles? Is there a tool i could use?

2 Answers
Accepted Answer

Hi, please take a look at IAM access analyser. It provides the following capabilities:

  • helps identify resources in your organization and accounts that are shared with an external entity. This lets you identify unintended access to your resources and data.
  • validates IAM policies against policy grammar and best practices.
  • generates IAM policies based on access activity in your AWS CloudTrail logs. You can use the generated policy to refine an entity's permissions by attaching it to an IAM user or role. In addition, this blog talks through a solution that provides continuous profiling of IAM usage with automated adjustments of permissions using AWS Config and CloudKnox.
answered 4 months ago


if by rightsizing, you mean a way to analyze and optimize IAM policies, you can look at IAM Access Analyzer ...

It generates findings based on best practices and CloudTrail logs, which lets you know if your policies are permissive, and enables you to fine-tune them.

answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions