AzCopy
$ azcopy Official Med RiskAzCopy v10 (azcopy) is Microsoft's high-performance Go utility for copying, syncing, and benchmarking Azure Blob, Files, and Data Lake Storage. It supports --output-type json, --dry-run, SAS tokens, and Entra ID (azcopy login / managed identity) authentication.
brew install azcopy Bulk parallel multi-gigabyte object transfers and local-to-Blob sync belong exclusively in azcopy, never serialized through an LLM MCP channel.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Global --output-type json, non-interactive AZCOPY_AUTO_LOGIN_TYPE service principal/managed identity support, and --dry-run=true on copy, sync, and remove.
- Supports
--output-type jsonand--dry-run=true - Supports
AZCOPY_SPA_CLIENT_SECRET/AZCOPY_MSI_CLIENT_IDheadless auth
--dry-run=true and --overwrite=false protect against accidental overwrites, though --delete-destination=true and azcopy remove are destructive.
- Explicit
--dry-run=trueand--overwritesafeguards
Single static Go binary available via Homebrew and direct Microsoft archives across macOS, Linux, and Windows.
- Zero-dependency static Go executable
Far faster and more resilient than az storage blob for large parallel transfers and directory syncs.
- Resumable job plans (
azcopy jobs resume) and high-concurrency transfers
Official Microsoft Azure Storage tool (Azure/azure-storage-azcopy) under MIT license.
- Official Microsoft repository under MIT license
Detailed Microsoft Learn command reference with clear flag tables.
- Full
azcopyreference documentation on Microsoft Learn
Security, Auth & Guardrails
Stores Entra ID token cache under ~/.azcopy/, or reads AZCOPY_SPA_CLIENT_SECRET / AZCOPY_AUTO_LOGIN_TYPE and inline SAS tokens.
MIT open-source CLI; Azure Storage API transactions and egress bandwidth incur standard Azure billing.
# AzCopy Agent Rules - Always pass `--output-type json` for parseable status and summary events. - Run `azcopy sync ... --dry-run=true` before any sync, especially if `--delete-destination=true` is considered. - Prefer `--overwrite=false` unless overwrite is explicitly requested.
Agent-Ready Command Recipes
Safe Read-Only Queries
azcopy list "https://<account>.blob.core.windows.net/<container>" --output-type json
Enumerates remote objects in structured JSON lines without transferring data.
--dry-run azcopy sync ./dist "https://<account>.blob.core.windows.net/<container>" --dry-run=true --output-type json
Reports files that would be copied or deleted without modifying local or Azure storage.
Controlled Writes & Previews
azcopy copy ./build "https://<account>.blob.core.windows.net/<container>" --recursive --overwrite=false --output-type json
Uploads build artifacts with --overwrite=false to prevent accidental data loss.
Strengths for Agents
- +
--output-type json+--dry-run=truelet agents preview transfers cleanly. - + Single Go binary with high-throughput parallel transfers and resumable job logs.
- + Supports Entra ID, Managed Identity, and time-scoped SAS tokens.
Caveats & Pitfalls
- !
--output-type jsonemits newline-delimited JSON status events rather than a single JSON object. - ! Passing SAS tokens on the command line can expose secrets in shell history or process listings.