In the world of AWS, IAM roles are a fundamental concept that you have to get right for your applications to function optimally. But you can also assume roles via the AWS CLI in order to access AWS resources instantly from the terminal or AWS Console.
The Granted CLI is an open-source tool developed by Common-Fate that makes it easier to assume IAM roles in AWS.
Before you can access the AWS CLI and AWS Console with your assumed IAM role via an IAM user or SSO user, you need to do the following steps: Create an IAM user
Assuming a role via AWS IAM Identity Center (formerly known as AWS SSO) is the best way to manage your AWS user authentication for all your AWS Accounts.