Does Spaces not support createPresignedPost? I can use it with AWS S3, but breaks with Spaces.

Posted May 3, 2018 2.3k views
DigitalOceanObject Storage


It seems like createPresignedPost requires a policy for content-type. I’ve tried adding a content-type, but it still doesn’t work. Could you please provide a working example of how to use createPresignedPost with Spaces?
I’m using the latest version of aws-sdk for NodeJS.

Also, an AWS employee stated on Github that createPresignedPost only works with V4 signatures ( Is this confirmation that Spaces doesn’t support createPresignedPost?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Can you share some details of the configuration used or request sent and the response that you’re receiving from the Spaces API?