aws4-signature
AWS Version 4 signature generator
Example
var aws4_sign = ; var signature = ; // Outputs "ced6826de92d2bdeed8f846f0bf508e8559e98e4b0199114b84c54174deb456c"console;
API
aws4-signature has a single function that returns a hexadecimal encoded signature
function aws4_sign(
secret, // Your AWS secret key
date, // The date of the request in any format that "new Date()" can parse
region, // The region that is receiving the request
service, // The service that is receiving the request
string_to_sign // The string to sign
)