A cis plugin of @dr/auth-aws-v4-nodejs
npm i @dr/auth-aws-v4-nodejs --save
const awsV4 = require('@dr/auth-aws-v4-nodejs');
const authz = awsV4.presigned (method, path, headers, query, payload, options)
- key
- secret
- timestamp 时间戳,精确到毫秒 default: Date.now()
- region default: us-east-1
- service default: s3
Please open an issue here.
Dianrong Node Team