`An error occurred (InvalidToken) when calling the ListBuckets operation: The provided token is malformed or otherwise invalid.` w/`aws s3 ls`

后端 未结 5 1331
傲寒
傲寒 2021-02-19 07:00

I successfully authenticate with 2 factor but when using aws s3 ls I keep getting

An error occurred (InvalidToken) when calling the ListBuck

5条回答
  •  误落风尘
    2021-02-19 07:36

    Please delete .aws/credentials file from your users account and reconfigure your aws cli. If you already associated with another account then there are high chances of this type of error.

提交回复
热议问题