CloudVE / cloudbridge

A consistent interface to multiple IaaS clouds; in Python.
https://cloudbridge.cloudve.org
MIT License
113 stars 51 forks source link

Should we allow users to specify read/write signed urls? #293

Closed FabioRosado closed 2 years ago

FabioRosado commented 2 years ago

In GCP I had to create a custom method to generate a signed URL for a storage bucket because Cloudbridge is generating read only URLs.

The aim of this issue, is to start a discussion if we should allow users to specify the type of permissions when generating the signed URL, we could add it as a parameter to be read (default) or write?

nuwang commented 2 years ago

That sounds good to me. It looks like all current providers support either GET or POST as possible presigned url options.

FabioRosado commented 2 years ago

Great, I'll start hacking at it and open up a PR when I have a working code :smile: