What problem does it solve?
This Skill simplifies implementing reliable file and streaming storage operations for Java applications using the Azure Storage Blob SDK by consolidating client creation patterns, upload/download strategies, and common error handling guidance.
Core Features & Use Cases
- Client creation patterns: guidance for BlobServiceClient, BlobContainerClient, and BlobClient using DefaultAzureCredential, SAS tokens, or connection strings.
- Uploads and downloads: examples for BinaryData, file-based uploads, stream-based uploads, parallel uploads with options, conditional uploads, and download to file or stream.
- Management and security: container lifecycle operations, listing and hierarchical listing, metadata and properties management, lease acquisition and renewal, blob copy operations, SAS token generation, and error handling for BlobStorageException.
- Use Case: backend services that need to upload large files reliably, generate scoped SAS URLs for clients, stream data into blobs, and perform robust cleanup and metadata updates.
Quick Start
Use the azure-storage-blob-java skill to upload local-file.txt into container mycontainer using DefaultAzureCredential with overwrite enabled.