Amazon Signature版本2过期标头丢失

时间:2017-09-06 18:35:24

标签: amazon-web-services amazon-s3 http-headers

我正在尝试使用签名版本2对请求进行身份验证。当我发送执行GetObject操作的请求时,我收到一个错误响应,要求提供过期标头。

根据http://docs.aws.amazon.com/general/latest/gr/signature-version-2.html,这应该不是问题。

aws是否尝试使用sigv4进行身份验证,或者这可能是s3 GetObject特定问题?

如果对回复感兴趣:

- <Error>
    <Code>AccessDenied</Code>
  - <Message>
      Query-string authentication requires the Signature, Expires and AWSAccessKeyId parameters
    </Message>
    <RequestId>...</RequestId>
  - <HostId>
      ...
    </HostId>
  </Error>

0 个答案:

没有答案