As simple as it gets:
var AwsSign = require('aws-sign');
var signer = new AwsSign({
accessKeyId: 'AKIAIOSFODNN7EXAMPLE',
secretAccessKey: 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY'
});
var authorization = signer.sign({
method: 'PUT',
bucket: 'johnsmith',
path: '/photos/puppy.jpg',
});
Then use your favorite http request module to talk to AWS.
https://github.com/egorFiNE/node-aws-sign
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en