scottwernervt / cloudstorage

Unified cloud storage API for storage services.
http://cloudstorage.readthedocs.io/en/latest/
MIT License
93 stars 27 forks source link

support for self-hosted s3 instances #87

Open felixevers opened 2 years ago

felixevers commented 2 years ago

Currently its not possible to change the endpoint url for the S3Driver. I would suggest something like this:

    @property
    def s3(self):
        return self.session.resource(
            service_name="s3",
            region_name=self.region,
            endpoint_url=self._endpoint_url,
            use_ssl=self._endpoint_use_ssl,
            verify=self._endpoint_verify, 
        )
felixevers commented 2 years ago

related to #85 but workaround doesnt work for different permission systems applied on s3