Wednesday, 15 January 2020

AWS CLI - Delete or revoke Policy to User






Query the User: aws iam list-attached-user-policies --user-name 'testuser2' --output table --query 'AttachedPolicies[*].PolicyName'



 Revoke the policy or detach

No comments: