rvolykh opened a new issue #1403: AWS S3 Presigned URL and Azure Blob Storage 
Shared access signature
URL: https://github.com/apache/libcloud/issues/1403
 
 
   ## Feature Request
   
   AWS S3 has the support of [Presigned Object 
URL](https://docs.aws.amazon.com/AmazonS3/latest/dev/ShareObjectPreSignedURL.html)
 and Azure Blob Storage has the support of [Shared access 
signature](https://docs.microsoft.com/en-us/rest/api/storageservices/delegate-access-with-shared-access-signature).
   
   Both of those features allow anyone (with whom shared link was shared) to 
download or upload a file. This feature is very useful when you want to 
temporary share a file with some user(s) or to allow them to upload a file, 
without sharing your credentials (temporary creds, creating an account, etc).
   
   Currently, [libcloud Storage interface 
(API)](https://libcloud.readthedocs.io/en/stable/storage/api.html#storage-base-api)
 has two methods which more or less are related to sharing object access:
   - 
[enable_object_cdn](https://libcloud.readthedocs.io/en/stable/storage/api.html#libcloud.storage.base.StorageDriver.enable_object_cdn)
 - Enable object CDN;
   - 
[get_object_cdn_url](https://libcloud.readthedocs.io/en/stable/storage/api.html#libcloud.storage.base.StorageDriver.get_object_cdn_url)
 - Return an object CDN URL.
   
   \* Both methods are not implemented either for AWS S3 nor Azure Blob Storage 
libcloud storage drivers.
   
   My proposal is to extend `get_object_cdn_url` with additional parameter 
(mode=["read", "write"]) and implement support for AWS S3 and Azure Blob 
Storage.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to