Closed gozer closed 7 years ago
header or query string parameter is X-Amz-Security-Token i think awscurl already passes that token as a headear, any insight why this does not work in your case?
awscurl does pass that token as a header, but doesn't include it in the signature, which is required for some services, like ElasticSearch
@gozer sounds good, there are couple comments on the pull request -- if can be addressed I'd love to merge this
@gozer bump. please update pull request -- trying to avoid it going stale.
Just encountered an issue using awscli against Amazon ElasticSearch service. Turns out some services require the x-amz-security-token header to be part of the signature, others don't.
I believe it's safe to just always include it in the signed payload when it's set.
From: Amazon V4 Signatures: