适用于AWS S3 v4身份验证问题的Nginx代理

时间:2019-01-30 16:31:23

标签: amazon-web-services nginx amazon-s3

使用https://github.com/anomalizer/ngx_aws_auth模块,我试图将Nginx设置为S3存储桶的代理。不幸的是,我得到了:

t

我的Nginx配置:

<Error>
<Code>SignatureDoesNotMatch</Code>
<Message>
The request signature we calculated does not match the signature you     provided. Check your key and signing method.
</Message>
<AWSAccessKeyId>AKIxxxx</AWSAccessKeyId>
<StringToSign>
AWS4-HMAC-SHA256 Wed, 30-Jan-19 16:10:47 GMT 20190130/eu-west-1    /s3/aws4_request     d7e6xxxx
</StringToSign>
<SignatureProvided>
1647xxxx
</SignatureProvided>

已使用附加在仓库中的generate_signing_key python脚本生成了签名密钥。知道这里有什么问题吗?

0 个答案:

没有答案