Use the below command to retrieve information about an IAM managed policy where ‘arn:aws:iam::123456789123:policy/POLICYNAME’ is the arn of the policy.
Continue readingCategory: IAM
How to attach policy to an IAM group
Use the below command to attach a policy to an IAM group where TeamA is the group name and ‘arn:aws:iam::123456789123:policy/POLICYNAME’
Continue readingHow to view all the policies attached to an IAM group
Below is the command to view all the policies attached to an IAM group where TeamA is the name of
Continue readingHow to list all the IAM groups of your AWS account
Below is the command to list all the IAM groups of your AWS account. aws iam list-groups Sample output of
Continue readingHow to identify groups that an IAM user belongs to
Run the below command to list all the groups that an IAM user belongs to where username is the name
Continue readingHow to list all IAM users of an AWS account
Below is the command to retrieve all the users of your AWS account. aws iam list-users
Continue readingHow to list all users of an IAM group
To list all the users of a particular IAM group, use the below cli command where TeamA is the name
Continue readingHow to enable and disable programmatic access to an IAM user
Access keys are required to programmatically access AWS resources. Access keys are a combination of access key ID and secret
Continue readingHow to List, Create and Delete aliases for your AWS account
The default sign-in url for your AWS account is as shown below where account_id is the unique identifier of your
Continue readingHow to Change the password of an IAM user
Change the password of an IAM user by running the below command where username is the name of the user
Continue reading