s3transfer
s3transfer copied to clipboard
AWS_S3_SIGNATURE_VERSION Environment Variable
I have noticed that when I use the AWSCLI, the AWS_S3_SIGNATURE_VERSION environment variable is not respected. In my situation, I must use AWS_S3_SIGNATURE_VERSION=s3. However, if I set this on the CLI, this is not propagated to the botocore library.
As a "patch", I have updated the botocore/client.py to handle this by having it read the environment variable directly. However, I suspect there is a cleaner way to do this.
Not opposed to adding this, I think this was never implemented because we never had any requests for it. Marking as a feature request.
@jamesls thanks. This would be very much appreciated!