611248 (3) [Avatar] Offline
#1
On "Securing...IAM=authorization" around 3 minute in the video, we have a many 'set' for header, like X-Amz-Date.

Using 'options' sign with:

aws4.sign(opts)


then

http.request(opts, function(res) { res.pipe(process.stdout) }).end()


should do it without babysitting each header name/value