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

Error signing request to Elasticsearch service #10

Closed NRKirby closed 5 years ago

NRKirby commented 5 years ago

Hi,

I am trying to make a simple request to the AWS Elastic search service but I am getting a 403 error

"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details"

I am pretty sure I have set up access to the service correctly and got the correct access keys.

I'm using es as the service parameter on the Sign method but I am not sure this is correct. This documentation uses the string es but I'm still not 100% sure this is right.

Do you know where I can confirm that this is the correct service name string?

NRKirby commented 5 years ago

I made a mistake with the search URL...