agilord / aws_client

High-level APIs for Amazon Web Services (AWS) in Dart
228 stars 103 forks source link

Support for Presigned URLs #429

Open abasu0713 opened 2 months ago

abasu0713 commented 2 months ago

Summary

What I am looking for is a way to connect to a self hosted S3 bucket (using Ceph) and programmatically generate Presigned URLs. I can already do it using AWS CLI Tools using the s3api and aws CLI tools. I was looking to implement a functionality for generating pre-signed URLs for some objects. My backend server is written in dart. Any help would be really appreciated.

mfurkanyuceal commented 1 month ago

Same request

abasu0713 commented 1 month ago

Same request

I actually got it working with the signer package. Let me know and I can share the code.

kartikey321 commented 2 days ago

@abasu0713 Please send the signer code with which you created presignedUrls

abasu0713 commented 1 day ago

@abasu0713 Please send the signer code with which you created presignedUrls

@kartikey321 Using extension methods: https://github.com/abasu0713/example-ceph-object-gateway/blob/master/dart-example/lib/storage_ops.dart

A medium article in the works too. :)