az-storage-account
Verified for current stable LTS
Az Storage Account Command: Generate Sas
Use for generate sas with Az Storage Account. Exact CLI syntax to generate sas using Az Storage Account.
When to use this: Use for generate sas with Az Storage Account.
Command Syntax
az storage account generate-sas --account-name <storage_account_name> -n <account_name> --permissions <sas_permissions> --expiry <expiry_date> --services <storage_services> --resource-types <resource_types> az storage account generate-sas --account-name <storage_account_name> -n <account_name> --permissions <sas_permissions> --expiry <expiry_date> --services <storage_services> --resource-types <resource_types> Command Breakdown
--account-name- 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.
--services- Command Option
- Tool-specific option used by this command invocation.
--resource-types- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to generate sas using Az Storage Account.
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 Account Command: Create Storage Account
az storage account create -n <storage_account_name> -g <azure_resource_group> --location <azure_location> --sku <storage_account_sku> Az Storage Account Command: List Storage Accounts az storage account list -g <azure_resource_group> Az Storage Account Command: Delete Storage Account az storage account delete -n <storage_account_name> -g <azure_resource_group> Az Storage Container Command: Create Container az storage container create --account-name <storage_account_name> -n <container_name> --public-access <access_level> --fail-on-exist Az Storage Container Command: Generate Sas az storage container generate-sas --account-name <storage_account_name> -n <container_name> --permissions <sas_permissions> --expiry <expiry_date> --https-only