aws4-签名
AWS 版本 4 签名生成器
例子
var aws4_sign = require ( "aws4-signature" ) ;
var signature = aws4_sign (
"wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY" ,
"2011-09-09T12:00:00.000Z" ,
"us-east-1" ,
"iam" ,
"AWS4-HMAC-SHA256\n20110909T233600Z\n20110909/us-east-1/iam/aws4_request\n3511de7e95d28ecd39e9513b642aee07e54f4941150d8df8bf94b328ef7e55e2"
) ;
// Outputs "ced6826de92d2bdeed8f846f0bf508e8559e
1