Charles L.
Charles L.

Reputation: 6275

Boto3 presigned URL for download and upload

Creating a presigned URL with boto3 is easy. There are docs such as this:

https://boto3.amazonaws.com/v1/documentation/api/latest/guide/s3-presigned-urls.html

But these only allow for upload OR download. Can both be done at the same time?

With STS upload and download credentials can be created that allow both get and put, but is this possible with presigned URLs?

Upvotes: 0

Views: 305

Answers (1)

jellycsc
jellycsc

Reputation: 12259

No, this is not possible because the HTTP verb is part of the canonical request which gets signed by the AWS credentials.

Upvotes: 3

Related Questions