How to configure CORS on Swisscom Cloudfoundry S3 dynamic storage

时间:2019-04-08 14:00:37

标签: amazon-s3 cors swisscomdev

I need to setup some CORS rules for my S3 Bucket hosted on Swisscom Cloudfoundry. Where or how can i set my CORS rules?

In the Cloudfoundry dashboard I can't find any settings, that belongs to CORS.

And setting CORS through the API with the Postman App (using the AWS Signature Authentication method) gives me the following Exception:

<Error>
    <Code>SignatureDoesNotMatch</Code>
    <Message>The request signature we calculated does not match the signature you provided. Check your Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details.</Message>
    <RequestId>8abebc99:1683be0bcde:5db02:2c2f</RequestId>
</Error>

Does Swisscom Cloudfoundry S3 support CORS settings? How can i set CORS rules?

1 个答案:

答案 0 :(得分:0)

Swisscoms动态存储基于Dell EMC的弹性云存储。您可以根据Dell EMC提供的官方文档来定义CORS设置:http://doc.isilon.com/ECS/3.3/API/S3BucketCorsOperations_setBucketCors_7609e2df22a3c1aba6f55696c1eb3fc3_ba672412ac371bb6cf4e69291344510e_detail.html

您发布的错误消息表明签名计算存在问题。这可能是由于系统时钟不同步造成的。