As part of access audits, we often need to verify permissions assigned to IAM users. Permissions to IAM users can…