az-storage
Manage Azure Cloud Storage resources
TLDR
Copy a local file to blob storage
SYNOPSIS
az storage subcommand [options]
DESCRIPTION
az storage manages Azure Cloud Storage resources including storage accounts, blob containers, file shares, queues, and tables. It provides commands for uploading, downloading, copying, and managing stored data.
Azure Storage offers multiple storage types: Blob storage for unstructured data, File storage for SMB file shares, Queue storage for messaging, and Table storage for NoSQL data.
PARAMETERS
--account-name value
Storage account name--account-key value
Storage account access key--connection-string value
Storage account connection string-c, --container value
Blob container name-s, --source value
Source path (local or URL)-d, --destination value
Destination path (local or URL)--recursive value
Process subdirectories recursively--auth-mode value
Authentication mode: key or login
SUBCOMMANDS
Account Management
account create, account delete, account list, account show, account keys listBlob Storage
blob upload, blob download, blob delete, blob list, blob copyContainers
container create, container delete, container list, container leaseFile Shares
share create, share delete, share list, file upload, file downloadCopy Operations
copy, removeData Lake Gen2
fs create, fs file upload, fs directory createQueue & Table
queue create, queue list, message put, table create, entity insert
CAVEATS
Commands support multiple authentication methods: account key, SAS token, Azure AD login, or connection string. The copy command uses AzCopy under the hood and supports S3-to-Azure transfers. Wildcard patterns work differently than shell globbing; use --include-pattern and --exclude-pattern.
SEE ALSO
az(1), az-storage-account(1), az-storage-blob(1), azcopy(1)
