Start a new topic

Does the request module support AWS signing?

I see that the request module ( has a property called 'aws'. Can this be used for signing AWS requests?

If not, it would be really great to have the signing functionality available to the custom endpoint Javascript.

1 person has this question

Yes, it can. The request module is a fork of the node 'request' module found at From the documentation of that module:

"aws - object containing AWS signing information. Should have the properties key, secret. Also requires the property bucket, unless you’re specifying your bucket as part of the path, or the request doesn’t use a bucket (i.e. GET Services)"
Looking at the internals, it looks like maybe it's only set up to sign requests to S3?
It should actually work with any AWS key - not just S3. The documentation references S3 but the key is the same throughout, I believe.
Login or Signup to post a comment