Expose the Pre-Signed URL functionality through the StorageClient API #2

Closed
opened 2025-09-19 10:32:41 +00:00 by CoreRasurae · 1 comment
Member

Currently only the S3 Provider supports creating Pre-Signed URLs, however this should be made available in the generic StorageClient interface, along with a suppports_pre_signed_urls() method, so that other providers can be added later (for instance Microsfot Azure related storage that supports similar functionality) without changing the code.

Tasks to be done:

  • Expose the suppports_pre_signed_urls() method
  • Expose the create_pre_signed_url() method
  • Update storage providers to abide with this new API
  • Update the unit tests and ensure 85% coverage

Definition of done:

  • Show that pre signed urls can be created directly from the StorageClient API
  • Show that coverage is still at least at 85%
Currently only the S3 Provider supports creating Pre-Signed URLs, however this should be made available in the generic StorageClient interface, along with a suppports_pre_signed_urls() method, so that other providers can be added later (for instance Microsfot Azure related storage that supports similar functionality) without changing the code. Tasks to be done: - Expose the suppports_pre_signed_urls() method - Expose the create_pre_signed_url() method - Update storage providers to abide with this new API - Update the unit tests and ensure 85% coverage Definition of done: - Show that pre signed urls can be created directly from the StorageClient API - Show that coverage is still at least at 85%
Author
Member

Weight voted to be 8. Priority Critical as this will help support the S3 Pre-Signed URLs on CleverSwarm.

Weight voted to be 8. Priority Critical as this will help support the S3 Pre-Signed URLs on CleverSwarm.
CoreRasurae 2025-09-24 10:04:31 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
You do not have permission to read 1 dependency
Reference: cleverlibre/clevercloud-storage#2
No description provided.