gallantlab / cottoncandy

sugar for s3
http://gallantlab.github.io/cottoncandy/
BSD 2-Clause "Simplified" License
33 stars 16 forks source link

add default S3 signature version to configuration options #54

Closed anwarnunez closed 6 years ago

anwarnunez commented 6 years ago

This to avoid signature v4 implementation issues with radosgw. signature v4 became default in botocore at some point

In the mean time, this can be addressed on the user side:

import cottoncandy as cc
from botocore.client import Config
config = Config(s3={'addressing_style': 'path'}, signature_version='s3')
cci = cc.get_interface(config=config)

see issue #47