Why use Blob Storage
- an object store optimised for storing massive amounts of unstructured data
To create a blob storage, you must first create a storage account
- Storage Accounts contain containers
- containers can contain blobs
In Python, working with blob storage involves interacting with three libraries
BlobServiceClient, BlobClient, ContainerClient for Blob Storage/container manipulation
azure.identity for IAM
Naming conventions
- each container must be unique per account. To generate unique container names, you can use uuid, which stands for (Universal Unique Identifier).
Steps to connecting to Blob Storage
- Prereq: You must have a connection string to a set up storage account
- Create a blob service client object based on your connection string
blob_service_client = BlobServiceClient.from_connection_string(connect_str)
- Get or create a container