title: How to resolve the "botocore.exceptions.ClientError: An error occurred (AccessDenied)" error?
body: <p>When I try to generate the credential report, this error pops out</p>
  
  <pre><code>botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the GenerateCredentialReport operation: User: arn:aws:iam::111111111111:user/freshers is not authorized to perform: iam:GenerateCredentialReport on resource: *
  </code></pre>
  
  <p>How can I fix/resolve this issue?</p>