Run the below command to deactivate the MFA device defined for an IAM user where username is the name of
Continue readingCategory: IAM
How to get information about an IAM role
Use the below command to view all the information of an IAM role where ROLENAME is the name of the
Continue readingHow to list all roles in your AWS account
Run the below command to view all the roles defined in an AWS account. aws iam list-roles
Continue readingHow to delete an IAM user
Below is the command to delete an IAM user using AWS command line where username is the name of the
Continue readingHow to delete an inline policy of an IAM user
Below is the command to delete an inline policy from an IAM user where username is the name of the
Continue readingHow to detach a policy from an IAM user
Use the below command to detach an attached policy from an IAM user where username is the name of the
Continue readingHow to remove an IAM user from a group
To remove an IAM user from an IAM group, use the below command where username is the name of the
Continue readingHow to rename an IAM user
Use the below command to rename an IAM user from AWS CLI where oldusername is the current user name and
Continue readingHow to add user to an IAM group
Below is the command to add user to an IAM group where username is the name of the user and
Continue readingHow to attach policy to an IAM user
Use the below command to attach policy to an IAM user where username is the name of the user and
Continue reading