【发布时间】:2018-01-30 12:44:04
【问题描述】:
我想为人脸识别集成 Amazon Rekognition。
我已经创建了存储桶和 IAM 用户。我正在尝试在 POSTMAN 中点击 "RekognitionService.ListCollections" 进行测试,但出现如下错误;
<InvalidSignatureException> <Message>Credential should be scoped to correct service: 'rekognition'. </Message> </InvalidSignatureException>
我的请求头如下;
https://rekognition.us-east-2.amazonaws.com/
x-amz-content-sha256:STREAMING-AWS4-HMAC-SHA256-PAYLOAD
X-Amz-Target:RekognitionService.ListCollections
X-Amz-Date:20180130T123032Z
Host:rekognition.us-east-2.amazonaws.com
Content-Length:142
Authorization:AWS4-HMAC-SHA256 Credential=XXXXXXXXXX/20180130/us-east-2/RekognitionService.ListCollections/aws4_request, SignedHeaders=accept-encoding;content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-target, Signature=xxxxxxxxxxx
Content-Type:application/x-www-form-urlencoded
Accept-Encoding:identity
谁能指导我如何在 POSTMAN 中测试 AWS api?
【问题讨论】:
标签: amazon-web-services amazon-s3 amazon postman face-recognition