Is it possible to generate a presigned URL for an S3 object using the AWS REST API rather than the SDKs? I can't find the topic for this in the AWS REST API documentation.
You won't find a REST endpoint for generating a presigned URL because that URL is generated entirely client-side. :) The python code used to generate those URLs can be found in the generate_presigned_url
method of the signers.py
in the botocore library.
You can verify the client-sidedness of the presigned-url generation in two ways:
Grab a network traffic analyzer and compare the traffic of a bucket-list operation and a generate-presigned-url operation
Generate a presigned-url for a non-existent bucket using invalid credentials and marvel as a totally non-fucntional presigned url is still happily generated for you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With