app icon indicating copy to clipboard operation
app copied to clipboard

[enhancement] Enable file upload to non-AWS object storage

Open buxm opened this issue 3 years ago • 2 comments

It would be great if it was possible to upload files to an S3 API compatible object storage service different from AWS S3, such as Google Cloud Platform, Oracle Cloud, self-hosted Minio and many others. This could be achieved by adding support for the following variables:

  • AWS_URL: URL of the object storage endpoint (mandatory)
  • AWS_CA_BUNDLE: The path to a custom certificate bundle to use when establishing SSL/TLS connections (optional)
  • AWS_USE_SSL: Whether or not to use SSL (default true)
  • AWS_VERIFY_SSL: Whether or not to verify SSL certificates (default true)

Such variables could then be used in boto3.client() or boto3.resource() to connect to alternative object storage services (using AWS_URL) and potentially to self hosted ones (with own CA or with self signed certificates or even without SSL) using the other variables. Examples of boto3 usage with non-AWS S3 API compatible object storage services: https://medium.com/oracledevs/use-aws-python-sdk-to-upload-files-to-oracle-cloud-infrastructure-object-storage-b623e5681412 https://docs.outscale.com/en/userguide/Boto3.html

buxm avatar Dec 08 '22 22:12 buxm

Setting up my server, and was browsing through the conf params for AWS. Expected the ability to use S3 compatible such as Minio. Was not seeing the URL variable. Alas, I see it's not possible as yet.

So, here I am adding my +1

m4teh avatar Jun 20 '24 05:06 m4teh

is this issue solved in #1970 ?

subham1099 avatar Jun 20 '25 10:06 subham1099