[{"data":1,"prerenderedAt":69},["ShallowReactive",2],{"tool-content-en-aws-sigv4":3},{"id":4,"title":5,"body":6,"description":59,"extension":60,"locale":61,"meta":62,"navigation":63,"path":64,"seo":65,"stem":66,"toolId":67,"__hash__":68},"tools\u002Ftools\u002Fen\u002Faws-sigv4.md","AWS SigV4 Signature Generator",{"type":7,"value":8,"toc":54},"minimark",[9,13,40,51],[10,11,5],"h2",{"id":12},"aws-sigv4-signature-generator",[14,15,16,17,21,22,25,26,29,30,29,33,29,36,39],"p",{},"When AWS answers ",[18,19,20],"code",{},"SignatureDoesNotMatch",", the error body only carries the final hash, so you cannot tell which intermediate value drifted. This tool rebuilds every step of Signature Version 4 (",[18,23,24],{},"AWS4-HMAC-SHA256",") in order: canonical URI, canonical query string, signed headers, payload hash, canonical request, string to sign, the ",[18,27,28],{},"kDate"," → ",[18,31,32],{},"kRegion",[18,34,35],{},"kService",[18,37,38],{},"kSigning"," key chain, and finally the signature.",[14,41,42,43,46,47,50],{},"Enter the method, host, path, query, headers, and body you intend to send, plus your region and service. Choose whether the signature travels in an ",[18,44,45],{},"Authorization"," header or in the query string as a presigned URL with an expiry, pick how the body hash is computed, and press the button. An equivalent ",[18,48,49],{},"curl"," command is generated for pasting into a terminal, though nothing is ever sent.",[14,52,53],{},"Signatures are verified against the official AWS signing test suite, so you can also paste a known signature to check whether your own signer agrees. Query parameters are sorted after encoding, which is the step hand-written signers most often get wrong. Everything runs in your browser via Web Crypto, and credentials, session tokens, and request bodies are never stored.",{"title":55,"searchDepth":56,"depth":56,"links":57},"",2,[58],{"id":12,"depth":56,"text":5},"Compute AWS Signature Version 4 in your browser: canonical request, string to sign, signing key chain, Authorization header and presigned URL.","md","en",{},true,"\u002Ftools\u002Fen\u002Faws-sigv4",{"title":5,"description":59},"tools\u002Fen\u002Faws-sigv4","aws-sigv4","8H0Xbddx5K2iVTm2NzX9N7geQSsYA0hDuzCGCJ3iu6I",1792391415617]