SASQueryParametersOptions interface
Options to construct <xref:SASQueryParameters>.
Properties
cache |
Value for cache-control header in Blob/File Service SAS. |
content |
Value for content-disposition header in Blob/File Service SAS. |
content |
Value for content-encoding header in Blob/File Service SAS. |
content |
Value for content-length header in Blob/File Service SAS. |
content |
Value for content-type header in Blob/File Service SAS. |
correlation |
A GUID value that will be logged in the storage diagnostic logs and can be used to correlate SAS generation with storage resource access. This is only used for User Delegation SAS. |
expires |
Optional only when identifier is provided. The expiry time for this SAS token. |
identifier | Optional. The signed identifier (only for <xref:BlobSASSignatureValues>). |
ip |
Optional. IP ranges allowed in this SAS. |
permissions | Optional only when identifier is provided. Please refer to <xref:AccountSASPermissions>, <xref:BlobSASPermissions>, or <xref:ContainerSASPermissions> for more details. |
preauthorized |
Authorized AAD Object ID in GUID format. The AAD Object ID of a user authorized by the owner of the User Delegation Key to perform the action granted by the SAS. The Azure Storage service will ensure that the owner of the user delegation key has the required permissions before granting access but no additional permission check for the user specified in this value will be performed. This cannot be used in conjuction with <xref:signedUnauthorizedUserObjectId>. This is only used for User Delegation SAS. |
protocol | Optional. The allowed HTTP protocol(s). |
resource | Optional. Specifies which resources are accessible via the SAS (only for <xref:BlobSASSignatureValues>). |
resource |
Optional. The storage resource types being accessed (only for Account SAS). Please refer to <xref:AccountSASResourceTypes> for more details. |
services | Optional. The storage services being accessed (only for Account SAS). Please refer to <xref:AccountSASServices> for more details. |
starts |
Optional. The start time for this SAS token. |
user |
User delegation key properties. |
Property Details
cacheControl
Value for cache-control header in Blob/File Service SAS.
cacheControl?: string
Property Value
string
contentDisposition
Value for content-disposition header in Blob/File Service SAS.
contentDisposition?: string
Property Value
string
contentEncoding
Value for content-encoding header in Blob/File Service SAS.
contentEncoding?: string
Property Value
string
contentLanguage
Value for content-length header in Blob/File Service SAS.
contentLanguage?: string
Property Value
string
contentType
Value for content-type header in Blob/File Service SAS.
contentType?: string
Property Value
string
correlationId
A GUID value that will be logged in the storage diagnostic logs and can be used to correlate SAS generation with storage resource access. This is only used for User Delegation SAS.
correlationId?: string
Property Value
string
expiresOn
Optional only when identifier is provided. The expiry time for this SAS token.
expiresOn?: Date
Property Value
Date
identifier
Optional. The signed identifier (only for <xref:BlobSASSignatureValues>).
identifier?: string
Property Value
string
ipRange
permissions
Optional only when identifier is provided. Please refer to <xref:AccountSASPermissions>, <xref:BlobSASPermissions>, or <xref:ContainerSASPermissions> for more details.
permissions?: string
Property Value
string
preauthorizedAgentObjectId
Authorized AAD Object ID in GUID format. The AAD Object ID of a user authorized by the owner of the User Delegation Key to perform the action granted by the SAS. The Azure Storage service will ensure that the owner of the user delegation key has the required permissions before granting access but no additional permission check for the user specified in this value will be performed. This cannot be used in conjuction with <xref:signedUnauthorizedUserObjectId>. This is only used for User Delegation SAS.
preauthorizedAgentObjectId?: string
Property Value
string
protocol
resource
Optional. Specifies which resources are accessible via the SAS (only for <xref:BlobSASSignatureValues>).
resource?: string
Property Value
string
resourceTypes
Optional. The storage resource types being accessed (only for Account SAS). Please refer to <xref:AccountSASResourceTypes> for more details.
resourceTypes?: string
Property Value
string
services
Optional. The storage services being accessed (only for Account SAS). Please refer to <xref:AccountSASServices> for more details.
services?: string
Property Value
string
startsOn
Optional. The start time for this SAS token.
startsOn?: Date
Property Value
Date
userDelegationKey
User delegation key properties.
userDelegationKey?: UserDelegationKey
Property Value
Azure SDK for JavaScript