The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256

前端 未结 20 1594
既然无缘
既然无缘 2020-11-22 14:19

I get an error AWS::S3::Errors::InvalidRequest The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. when I try upload fi

20条回答
  •  庸人自扰
    2020-11-22 15:07

    With boto3, this is the code :

    s3_client = boto3.resource('s3', region_name='eu-central-1')
    

    or

    s3_client = boto3.client('s3', region_name='eu-central-1')
    

提交回复
热议问题