az-storage-blob
Verified for current stable LTS
Az Storage Blob Command: Generate Shared Access Signature For Blob
Use for generate shared access signature for blob with Az Storage Blob. Exact CLI syntax to generate shared access signature for blob using Az Storage Blob.
When to use this: Use for generate shared access signature for blob with Az Storage Blob.
Command Syntax
az storage blob generate-sas --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> --permissions <permission_set> --expiry {Y-m-d'T'H:M'Z'} --https-only az storage blob generate-sas --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> --permissions <permission_set> --expiry `{Y-m-d'T'H:M'Z'`} --https-only Command Breakdown
--account-name- Command Option
- Tool-specific option used by this command invocation.
--account-key- Command Option
- Tool-specific option used by this command invocation.
-c- Command Option
- Tool-specific option used by this command invocation.
-n- Command Option
- Tool-specific option used by this command invocation.
--permissions- Command Option
- Tool-specific option used by this command invocation.
--expiry- Command Option
- Tool-specific option used by this command invocation.
--https-only- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to generate shared access signature for blob using Az Storage Blob.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Az Storage Blob Command: Delete Blob
az storage blob delete --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> Az Storage Blob Command: Delete Blob Object az storage blob delete --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> Az Storage Blob Command: Download Blob az storage blob download --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> -f <path/to/file> Az Storage Blob Command: Download Blob To File az storage blob download --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> -f <path/to/file> Az Storage Blob Command: Download Blob To File Path az storage blob download --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> -f <path/to/file>