AWS returns "Invalid Signature" when trying to get Orders

0

We have successfully validated our .NET Signature calculation function - hmacSignature.GetSignatureKey() using parameters... ("wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY", "20120215", "us-east-1", "iam") However, when using our registered parameters... ("**************************************", " 20220916", "eu-west-1", "Execute-api") ...we get an InvalidSignature message.

How do we go about understanding what we are doing wrong?

1개 답변
0

At a guess, it might be that you need to use execute-api instead of Execute-api since the service name will be case sensitive.

Other than that, there are various things that could be wrong with the signature - this is probably a good place to start: https://docs.aws.amazon.com/general/latest/gr/signature-v4-troubleshooting.html

Deriving the signing key is just one step of the process, and any other issues are more likely to be with your algorithm to create the canonical request and string to sign, which will need to match the request parameters exactly. More information is available here: https://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html

Ed
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠