我正在使用 Amazon SES 尝试通过 HTTP Post 发送电子邮件,例如:
https://email.us-east-1.amazonaws.com/?Action=SendEmail&Source=user%40example.com&Destination.ToAddresses.member.1=allan%40example.com&Message.Subject.Data=This%20is%20the%20subject%20line.&Message.Body.Text.Data=Hello.%20I%20hope%20you%20are%20having%20a%20good%20day.
但是在 HTTP 标头中,它要求 X-Amzn-Authorization 包括:
X-Amzn-Authorization: AWS3-HTTPS AWSAccessKeyId=<Your AWS Access Key ID>, Algorithm=HmacSHA256, Signature=<Signature>
我想知道如何计算签名?它只是我的秘密访问密钥吗?
此处显示在Amazon 文档站点上。