AWS S3 - How to fix 'The request signature we calculated does not match the signature' error?

后端 未结 30 2716
谎友^
谎友^ 2020-11-29 08:05

I have searched on the web for over two days now, and probably have looked through most of the online documented scenarios and workarounds, but nothing worked for me so far.

30条回答
  •  孤街浪徒
    2020-11-29 08:19

    For Python set - signature_version s3v4

    s3 = boto3.client(
       's3',
       aws_access_key_id='AKIAIO5FODNN7EXAMPLE',
       aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE',
       config=Config(signature_version='s3v4')
    )
    

提交回复
热议问题