All skills
microsoft avatar

/azure-storage

@b3c238e
by microsoftmicrosoft/skills3.1k stars
351

Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, storage tiers, hot cool cold archive, storage tier comparison, when to use storage tiers, lifecycle management, Azure Storage concepts. DO NOT USE FOR: SQL databases, Cosmos DB (use azure-prepare), messaging with Event Hubs or Service Bus (use azure-messaging).

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-storage

This session only. Nothing lands on disk.

referencessdkazure-storage-blob-java.md

≈338 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Blob Storage — Java SDK Quick Reference

Condensed from azure-storage-blob-java. Full patterns (SAS tokens, streaming, lease management, parallel uploads, proxy config) in the azure-storage-blob-java plugin skill if installed.

Install

<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-storage-blob</artifactId>
    <version>12.33.0</version>
</dependency>
<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-identity</artifactId>
</dependency>

Quick Start

import com.azure.storage.blob.BlobServiceClientBuilder;
import com.azure.identity.DefaultAzureCredentialBuilder;
var serviceClient = new BlobServiceClientBuilder()
    .endpoint("<storage-account-url>")
    .credential(new DefaultAzureCredentialBuilder().build())
    .buildClient();

Best Practices

  • Use DefaultAzureCredential for local development only — in production, use ManagedIdentityCredential. See auth-best-practices.md
  • Use BinaryData.fromString() for string uploads
  • Use createIfNotExists() for idempotent container creation
  • Use BlobParallelUploadOptions for large file uploads with headers/metadata
  • Use BlobInputStream/BlobOutputStream for streaming large blobs
  • Handle BlobStorageException — check getStatusCode() and getErrorCode()

Source: SKILL.md on GitHub

2 warnings15d4 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill provides a technical reference for Azure Storage services, including security best practices for authentication and official SDK usage. It includes references to tools for data interaction, which is a common pattern that warrants review for handling external content.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: MEDIUM · 1 issue

  • Runlayer7mo

    13/13 files flagged

Signed by skilld at b3c238e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "1.2.1"
}

README badge

README badge for microsoft/skills/azure-storage