티스토리 뷰

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

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/03   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
글 보관함