0.0.1 • Published 11 years ago

windows-azure-url-signer v0.0.1

Weekly downloads
4
License
-
Repository
github
Last release
11 years ago

##Windows Azure url signer

Module to sign urls to allow access to the private blobs in windows azure

###To install

npm install windows-azure-url-signer

###Use example

var sig= require('windows-azure-url-signer');

var account1 = sig.urlSigner('my key', 'my secret');
var account2 = sig.urlSigner('my key2', 'my secret2');

var url1 = account1.getUrl('GET', 'somefile.png', 'mycontainer', 10); //url expires in 10 minutes
var url2 = account2.getUrl('PUT', '/somedir/somefile.png', 'mycontaineronotheraccount', 100); //url expires in 100 minutes

###Credits

Inspired by and derived from amazon-s3-url-signer.

###License

BSD, because that's what amazon-s3-url-signer is