aws4
aws4 copied to clipboard
Signs and prepares Node.js requests using AWS Signature Version 4
Hello, Is there any options to sign a WebSocket request (for API Gateway WebSocket API) ?
Hi @mhart I'd like to call AWS services via https but rather than using fixed AWS credentials I want to use the Cognito Identity credentials of the currently logged in...
Request to cn region now send to *.amazonaws.com.cn See: https://docs.aws.amazon.com/general/latest/gr/rande.html
AWS China operates independently from AWS Global. There are two regions in AWS China: "cn-north-1" and "cn-northwest-1", both of them use separate API endpoint domain names: *.amazonaws.com.cn See: https://docs.aws.amazon.com/general/latest/gr/rande.html In...
fixes #78 re. [this issue](https://github.com/mhart/aws4/issues/78) and [subsequent comments](https://github.com/mhart/aws4/issues/78#issuecomment-449093438); when a consumer provides a `headers` object to the request being signed, that object is mutated without notice. This causes issues in...
First of all, thanks for this library :) I stumbled upon your example for [creating a UMD build](https://github.com/mhart/aws4/tree/master/browser), why not include this straight into the lib ? Thanks
Hi @mhart, we've been working hard on a minimized version of aws4 for the browser. [aws4-tiny](https://github.com/emdgroup/aws4-tiny) was born which is just under 17kb in size using a number of polyfills...
I've added a method to remove `http` and `https` protocols in case the user passes it in the request. It might be an edge case but improves the safety of...
The session token must be added after signing.