DO Ideas 2

Spaces API: Support presigned upload urls like those in S3

From S3 docs:

"A pre-signed URL gives you access to the object identified in the URL, provided that the creator of the pre-signed URL has permissions to access that object. That is, if you receive a pre-signed URL to upload an object, you can upload the object only if the creator of the pre-signed URL has the necessary permissions to upload that object."

  • Dmitry
  • Sep 11 2018
  • Shipped
  • Attach files
  • Priya commented
    September 11, 2018 15:56

    We launched v4 of pre-signed URLs in January 2018. Please refer to the following release notes on the topic: https://www.digitalocean.com/docs/release-notes/#january-2018

  • Alex Babakhanov commented
    September 11, 2018 15:56

    Allow CORS, to make possible ajax uploads from client side

  • John Gannon commented
    September 11, 2018 15:56

    Hi Dmitry - we do support "v2" pre-signed URLs in Spaces. We don't yet support v4 but hope to soon. In the mean time, if you can force your client / library to use "v2" it should work fine. Thanks!