Computer Science/에러 기록 정리
[boto3]The AWS Access Key Id you provided does not exist in our records.
JG Ahn
2019. 11. 12. 21:06
Error
botocore.exceptions.ClientError: An error occurred (InvalidAccessKeyId) when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records.
Situation
import boto3을 해서 boto를 사용하는데 설정된 액세스 키가 잘못되었단 소리다.
aws configure 명령어를 통해 액세스 키를 다시 설정하거나 아래의 파일들을 제대로 수정해주면 된다.
~/.aws/credentials
~/.aws/config