aws-sdk-go-v2 icon indicating copy to clipboard operation
aws-sdk-go-v2 copied to clipboard

service/s3: Presigned URL Generators

Open JinnyYi opened this issue 4 years ago • 8 comments

Is your feature request related to a problem? Please describe. There's no equivalent functionality to the 1.x presigned URLs in S3. For now, there're only PresignPutObject, PresignGetObject, PresignHeadObject and PresignUploadPart to generate presigned HTTP Requests in PresignClient in the current version.

We'd like to have the possibility to generate resigned URLs for S3 multipart upload related requsets, not just UploadPart, similar to what aws-sdk-java-v2 does.

Describe the solution you'd like Support PresignXxx() to PresignClient for multi-part requests the same way it's done for HeadObject , PutObject, etc.

JinnyYi avatar Oct 21 '21 09:10 JinnyYi

Hi @JinnyYi , Hmm sounds reasonable, although it would take some digging to figure out which are viable... In the mean time could you explain your use case? Maybe thee are workarounds to these in the existing implementation?

KaibaLopez avatar Dec 17 '21 22:12 KaibaLopez

This issue has not received a response in 1 week. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.

github-actions[bot] avatar Dec 20 '21 00:12 github-actions[bot]

In the mean time could you explain your use case?

We just want to support the generation of signed URL for multipart uploads. After migrating to aws-sdk-go-v2, we found that we could not provide equivalent service to the previous version in terms of authentication requests.

JinnyYi avatar Dec 20 '21 02:12 JinnyYi

Any status on this feature @KaibaLopez ? In need for this one too.

The use case is that we don't want to generate a presigned URL for each part but only 1 for 1 complete UploadID

petitout avatar Jan 10 '22 21:01 petitout

Actually @KaibaLopez and @JinnyYi , the partNumber is part of the signature ... So it is not possible to generate only 1 Presigned URL for all the parts

petitout avatar Jan 10 '22 22:01 petitout

Why has no one answer this properly since 2022? Generating multipart presigned urls is already possible since a long time. Did the maintainers here read this issue?

Right now i have it working on local host, but its failing in production and i need help. But since the state here is that we dont even know the functionality is possible.. i'm afraid to even ask since this was first asked in 2021 👀

patchthecode avatar Aug 02 '23 15:08 patchthecode

Hi @patchthecode ,

Thanks for bringing this up. Admittedly, we are having a hard time formalizing the presigning behavior, and since this is not a Go SDK specific issue, but an issue that would be a cross SDK + S3 effort.

This is still definitely on our radar. Thank you for your patience. Ran~

RanVaknin avatar Feb 22 '24 21:02 RanVaknin

Hi @RanVaknin , thank you for the response. But isn't python boto3 still supports “create_multipart_upload()" and "upload_part()"?

wyim-ns avatar Apr 04 '24 16:04 wyim-ns