title: Upload blob to windows azure container using NodeJS (CompoundJS)
body: <p>I am using CompoundJS for my application and now trying to implement a script which would
  upload images to azure blob from compoundjs.</p>
  
  <p>I searched web and found that there is a module <code>azure</code> (npm install azure)
  as specified in <a href="https://github.com/WindowsAzure/azure-sdk-for-node" rel="nofollow">this link</a>.</p>
  
  <p>Below is the code snippet i used in my application</p>
  
  <pre><code>var azure = require("azure");
  var blobService = azure.createBlobService();
  blobService.createContainerIfNotExists('container_name', {publicAccessLevel : 'blob'}, function(error){
      if(!error){
          // Container exists and is public
          console.log("Container Exists");
      }
  });
  </code></pre>
  
  <p>I am aware that i should configure <code>ACCESS KEY</code> some where to make this work, but not sure where.</p>
  
  <p>Please suggest.</p>