Setting access level of storage container programmatically (Ruby SDK)

I'm having an issue where I'm creating a container programmatically using the Ruby SDK, and it is being set to Private immediately.

I'm using the Azure Ruby SDK found here: https://github.com/Azure/azure-sdk-for-ruby

def create_container(container_name)
  container = Azure.blobs.create_container(container_name)
end

How do I set the access level to Public Blob? Right now I have to go to the portal and set it manually.


  • Edited by Josh SBA Thursday, August 20, 2015 1:25 PM
August 20th, 2015 1:24pm

The second one worked for me. Thanks!
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 8:22am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics