Add signature version to boto3 config (#884)

This commit is contained in:
Colin Gaudreau 2023-01-18 11:13:03 -06:00 committed by GitHub
parent 3d5d8ef706
commit d0fa72ee1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1523,6 +1523,7 @@ class _Boto3Driver(_Driver):
_pool_connections = deferred_config('aws.boto3.pool_connections', 512) _pool_connections = deferred_config('aws.boto3.pool_connections', 512)
_connect_timeout = deferred_config('aws.boto3.connect_timeout', 60) _connect_timeout = deferred_config('aws.boto3.connect_timeout', 60)
_read_timeout = deferred_config('aws.boto3.read_timeout', 60) _read_timeout = deferred_config('aws.boto3.read_timeout', 60)
_signature_version = deferred_config('aws.boto3.signature_version', None)
_stream_download_pool_connections = deferred_config('aws.boto3.stream_connections', 128) _stream_download_pool_connections = deferred_config('aws.boto3.stream_connections', 128)
_stream_download_pool = None _stream_download_pool = None
@ -1566,6 +1567,7 @@ class _Boto3Driver(_Driver):
int(_Boto3Driver._pool_connections)), int(_Boto3Driver._pool_connections)),
connect_timeout=int(_Boto3Driver._connect_timeout), connect_timeout=int(_Boto3Driver._connect_timeout),
read_timeout=int(_Boto3Driver._read_timeout), read_timeout=int(_Boto3Driver._read_timeout),
signature_version=_Boto3Driver._signature_version,
) )
} }
if not cfg.use_credentials_chain: if not cfg.use_credentials_chain: