The AWS Access Key Id does not exist in our records
<p>I created a new Access Key and configured that in the AWS CLI with <code>aws configure</code>. It created the <code>.ini</code> file in <code>~/.aws/config</code>. When I run <code>aws s3 ls</code> it gives:</p>

<blockquote>
  <p>A client error (InvalidAccessKeyId) occurred when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records.</p>
</blockquote>

<p><code>AmazonS3FullAccess</code> policy is also attached to the user. How to fix this? </p>