CmdID

CmdID / az / az storage / az storage container

az storage container generate-sas

Generate a SAS token for a storage container. Azure CLI reference

11 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

11 in the Azure CLI reference
--as-userIndicates that this command return the SAS signed with the user delegation key.
--cache-controlResponse header value for Cache-Control when resource is accessed using this shared access signature.
--content-dispositionResponse header value for Content-Disposition when resource is accessed using this shared access signature.
--content-encodingResponse header value for Content-Encoding when resource is accessed using this shared access signature.
--content-languageResponse header value for Content-Language when resource is accessed using this shared access signature.
--content-typeResponse header value for Content-Type when resource is accessed using this shared access signature.
--encryption-scopeA predefined encryption scope used to encrypt the data on the service.
--permissions
--policy-nameThe name of a stored access policy within the container's ACL.
--user-delegation-oidSpecifies the Entra ID of the user that is authorized to use the resulting SAS URL.
--user-delegation-tidThe delegated user tenant id in Azure AD.