az-storage-account Verified for current stable LTS

Az Storage Account Command: Generate Shared Access Signature

Use for generate shared access signature with Az Storage Account. Exact CLI syntax to generate shared access signature using Az Storage Account.

When to use this: Use for generate shared access signature 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>

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 shared access signature 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

Back to Az Storage Account directory