tsibelman / aws-signer-v4-dot-net

Sign HttpRequestMessage using AWS Signature v4 using request information and credentials.
Apache License 2.0
72 stars 27 forks source link

The request signature we calculated does not match the signature you provided #39

Closed tedead closed 1 year ago

tedead commented 1 year ago

Hello,

I keep getting this error in code but not when I make the call directly in Postman, to Amazon.

"The request signature we calculated does not match the signature you provided"

URL: https://sts.us-east-1.amazonaws.com/?Version=2011-06-15%26Action=GetSessionToken%26RoleSessionName=Test%26RoleArn=arn:aws:iam::276605013859:role/TestRole

Service: sts Region: us-east-1 Action: both AssumeRole and GetSessionToken. Works in direct call to Amazon from Postman but not thru code.

I've done a bunch of Googling for this error and no suggestions work. Like "check time on computer", etc.

Any ideas on what could be happening? I'm more than happy to provide additional information.

tedead commented 1 year ago

I found there were key/access issues.