lindenlab / caddy-s3-proxy

s3 proxy plugin for caddy
Apache License 2.0
74 stars 21 forks source link

Google storage applicability #45

Open gedw99 opened 3 years ago

gedw99 commented 3 years ago

Does anyone have any idea if google storagebis likely to work . It’s an s3 store of sorts

rayjlinden commented 3 years ago

It should work - but I have not tried it myself. Here is a doc from google describing how it should work: https://cloud.google.com/storage/docs/migrating

You will certainly need to set a few extra directives: endpoint: https://storage.googleapis.com force_path_style: true region: auto

You will need to se up a .aws/creds file with your google access id and secret.

Please let me know if you get it to work. (And if you give me clear instructions on how - I'd be happy to add it to the README for the next person who attempts this.)

gedw99 commented 3 years ago

thanks @rayjlinden

I have not tried your code yet.

However, Have you seen this ? https://gocloud.dev/howto/blob/ Its more agnostic... I tried it with AWS, GCS and MINIO and it works.