By Moti Com
I would like to have a much longer expiration time for my signed urls from Spaces, I couldn’t find any information within the docs what the max expiration time is. Is there a max expiration time? Or can I decide on any number of seconds?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello @moticom
I believe there is no strict limit in the expiration time, but ideally you would like to set such. I’ll usually set this for few hours since the link will be shared straight-away and the data will be downloaded.
https://docs.digitalocean.com/products/spaces/resources/s3-sdk-examples/#presigned-url
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.