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

May 3, 2018 324 views
DigitalOcean Object Storage

Hi,

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 (https://github.com/aws/aws-sdk-js/issues/1488#issuecomment-298054371). Is this confirmation that Spaces doesn't support createPresignedPost?

Thanks.

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?

Have another answer? Share your knowledge.