SKILL

azure-storage-blob-ts

Azure Blob Storage JavaScript/TypeScript SDK (@azure/storage-blob) for blob operations. Use for uploading, downloading, listing, and managing blobs and containers. Supports block blobs, append blobs, page blobs, SAS tokens, and streaming. Triggers: "blob storage", "@azure/storage-blob", "BlobServiceClient", "ContainerClient", "upload blob", "download blob", "SAS token", "block blob".

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • @azure/storage-blob (TypeScript/JavaScript)
  • Installation
  • Environment Variables
  • Authentication
  • Microsoft Entra Token Credential (Recommended)
  • Connection String
  • StorageSharedKeyCredential (Node.js only)
  • SAS Token

SDK for Azure Blob Storage operations — upload, download, list, and manage blobs and containers. Current Version: 12.x Node.js: >= 18.0.0 Most common type for text and binary files. Optimized for append operations (logs, audit trails). Fixed-size blobs for random read/write (VHDs). 1. Use DefaultAzureCredential for local development; use ManagedIdentityCredential or WorkloadIdentityCredential for production 2. Use streaming for large files — uploadStream/downloadToFile for files > 256MB 3. Set appropriate content types — Use setHTTPHeaders for correct MIME types 4. Use SAS tokens for client access — Generate short-lived tokens for browser uploads 5. Handle errors gracefully — Check RestError.statusCode for specific handling 6. Use IfNotExists methods — For idempotent container/blob creation 7. Close clients — Not required but good practice in long-running apps | Feature | Node.js | Browser | |---------|---------|---------| | StorageSharedKeyCredential | ✅ | ❌ | | uploadFile() | ✅ | ❌ | | uploadStream() | ✅ | ❌ | | downloadToFile() | ✅ | ❌ | | downloadToBuffer() | ✅ | ❌ | | uploadData() | ✅ | ✅ | | SAS generation | ✅ | ❌ | | DefaultAzureCredential | ✅ | ❌ | | Anonymous/SAS access |

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
microsoft/skills
Source file
.github/plugins/azure-sdk-typescript/skills/azure-storage-blob-ts/SKILL.md
Fixed revision
9287b443662d2433c85621c7325ee72a0ce499b5
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:06.602Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.