CmdID / az / az storage / az storage fs / az storage fs directory
az storage fs directory generate-sas
Generate a SAS token for directory in ADLS Gen2 account. Azure CLI reference
14 options Its page in the Azure CLI reference
Options
--as-userIndicates that this command return the SAS signed with the user delegation key.--cache-controlResponse header value for Cache-Control when resource is accessedusing this shared access signature.--content-dispositionResponse header value for Content-Disposition when resource is accessedusing this shared access signature.--content-encodingResponse header value for Content-Encoding when resource is accessedusing this shared access signature.--content-languageResponse header value for Content-Language when resource is accessedusing this shared access signature.--content-typeResponse header value for Content-Type when resource is accessedusing this shared access signature.--encryption-scopeSpecify the encryption scope for a request made so that all write operations will be service encrypted.--file-system, -fFile system name (i.e. container name).--full-uriIndicate that this command return the full blob URI and the shared access signature token.--name, -nThe name of directory.--permissions--policy-nameThe name of a stored access policy.--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.