ngx-aws4
An utility to sign http(s) request options using Amazon's AWS Signature Version 4.
Installation
With npm do:
npm install ngx-aws4
Example
; ... public static { let requestOptions: any = host: `.s3..amazonaws.com` path: path console; aws4 console; return requestOptions;} ...
More options
// you can also pass AWS credentials in explicitly (otherwise taken from process.env)aws4 // can also add the signature to query stringsaws4
Thanks
Thanks to @mhart
Thanks to @jed
Also thanks to the official node.js AWS SDK