Skip to content

Created Presigned URL for Multpart UploadΒ #1214

@zhoub

Description

@zhoub

Confirm by changing [ ] to [x] below:

Describe the question

Wanted to create presigned URL for each part when multipart uploading is being used to upload big file from external.

As Python example
https://github.com/T-Tmnr/aws_s3_multipartupload_with_presigned_url/blob/927685c378c4e929ce606dbec735304a3e49a0bd/aws-multipart-upload.py#L38

 signed_url = self.s3.generate_presigned_url(
            ClientMethod='upload_part',
            Params={'Bucket': self.bucket_name,
                    'Key': self.key,
                    'UploadId': self.upload_id,
                    'PartNumber': part_no},
            ExpiresIn=expire)

It's able to specify UploadId and PartNumber.

Is that possible to do so in Golang to generate Presigned URL for each part ?

Thank you in advance !

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceQuestion that needs advice or information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions