Skip to content

Set presigned URL download duration to the same as the S3 object cache expiry duration.

Currently, even though our S3 objects are uploaded with an expiry duration of up to 7 days, the presigned download URL is generated with a static 1 day duration. Change this to be the same as the expiry duration of the object, or 1 day if no expiry duration is set.

Edited by James Page