s3transfer icon indicating copy to clipboard operation
s3transfer copied to clipboard

AWS_S3_SIGNATURE_VERSION Environment Variable

Open zouf opened this issue 6 years ago • 2 comments

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.

zouf avatar Jul 01 '19 23:07 zouf

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 avatar Jul 05 '19 21:07 jamesls

@jamesls thanks. This would be very much appreciated!

zouf avatar Jul 10 '19 18:07 zouf