Fix boto3 s3 signature (#2041)

This commit is contained in:
Kevin Chung
2022-01-13 14:27:33 -05:00
committed by GitHub
parent c1a27176b6
commit f89fcea1e2

View File

@@ -87,7 +87,7 @@ class S3Uploader(BaseUploader):
endpoint = get_app_config("AWS_S3_ENDPOINT_URL")
client = boto3.client(
"s3",
config=Config(signature_version="v4"),
config=Config(signature_version="s3v4"),
aws_access_key_id=access_key,
aws_secret_access_key=secret_key,
endpoint_url=endpoint,