Run the below command to view all the roles defined in an AWS account. aws iam list-roles
Continue reading
Run the below command to view all the roles defined in an AWS account. aws iam list-roles
Continue readingBelow is the command to delete an IAM user using AWS command line where username is the name of the
Continue readingBelow is the command to delete an inline policy from an IAM user where username is the name of the
Continue readingUse the below command to detach an attached policy from an IAM user where username is the name of the
Continue readingTo remove an IAM user from an IAM group, use the below command where username is the name of the
Continue readingUse the below command to rename an IAM user from AWS CLI where oldusername is the current user name and
Continue readingBelow is the command to add user to an IAM group where username is the name of the user and
Continue readingUse the below command to attach policy to an IAM user where username is the name of the user and
Continue readingUse 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 readingUse 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 reading