The AWS Access Key Id does not exist in our records
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I created a new Access Key and configured that in the AWS CLI with aws configure . It created the .ini file in ~/.aws/config . When I run aws s3 ls it gives: A client error (InvalidAccessKeyId) occurred when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records. AmazonS3FullAccess policy is also attached to the user. How to fix this? 回答1: It might be happening that you have the old keys exported via env variables (bash_profile) and since the env variables have higher precedence over credential