【问题标题】:How to configure CORS on Swisscom Cloudfoundry S3 dynamic storage如何在 Swisscom Cloudfoundry S3 动态存储上配置 CORS
【发布时间】:2019-08-29 17:00:15
【问题描述】:

我需要为我在 Swisscom Cloudfoundry 上托管的 S3 存储桶设置一些 CORS 规则。我可以在哪里或如何设置我的 CORS 规则?

在 Cloudfoundry 仪表板中,我找不到任何属于 CORS 的设置。

使用 Postman 应用程序通过 API 设置 CORS(使用 AWS 签名身份验证方法)会给我以下异常:

<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>

Swisscom Cloudfoundry S3 是否支持 CORS 设置? 如何设置 CORS 规则?

【问题讨论】:

    标签: amazon-s3 cors swisscomdev


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-28
      • 2017-09-21
      • 2019-08-06
      • 2021-03-28
      • 2023-03-19
      • 1970-01-01
      • 1970-01-01
      • 2021-12-28
      相关资源
      最近更新 更多