Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SASQueryParametersOptions

Package version

Options to construct SASQueryParameters.

export
interface

SASQueryParametersOptions

Hierarchy

  • SASQueryParametersOptions

Index

Properties

Optional agentObjectId

agentObjectId: undefined | string

Unauthorized AAD Object ID in GUID format. The AAD Object ID of a user that is assumed to be unauthorized by the owner of the User Delegation Key. The Azure Storage Service will perform an additional POSIX ACL check to determine if the user is authorized to perform the requested operation. This cannot be used in conjuction with {@link signedAuthorizedUserObjectId}. This is only used for User Delegation SAS.

memberof

SASQueryParametersOptions

Optional cacheControl

cacheControl: undefined | string

Value for cache-control header in Blob/File Service SAS.

memberof

SASQueryParametersOptions

Optional contentDisposition

contentDisposition: undefined | string

Value for content-disposition header in Blob/File Service SAS.

memberof

SASQueryParametersOptions

Optional contentEncoding

contentEncoding: undefined | string

Value for content-encoding header in Blob/File Service SAS.

memberof

SASQueryParametersOptions

Optional contentLanguage

contentLanguage: undefined | string

Value for content-length header in Blob/File Service SAS.

memberof

SASQueryParametersOptions

Optional contentType

contentType: undefined | string

Value for content-type header in Blob/File Service SAS.

memberof

SASQueryParametersOptions

Optional correlationId

correlationId: undefined | string

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.

memberof

SASQueryParametersOptions

Optional directoryDepth

directoryDepth: undefined | number

Indicate the depth of the directory specified in the canonicalizedresource field of the string-to-sign. The depth of the directory is the number of directories beneath the root folder.

memberof

SASQueryParametersOptions

Optional expiresOn

expiresOn: Date

Optional only when identifier is provided. The expiry time for this SAS token.

memberof

SASQueryParametersOptions

Optional identifier

identifier: undefined | string

Optional. The signed identifier (only for {@link BlobSASSignatureValues}).

see

https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy

memberof

SASQueryParametersOptions

Optional ipRange

ipRange: SasIPRange

Optional. IP ranges allowed in this SAS.

memberof

SASQueryParametersOptions

Optional permissions

permissions: undefined | string

Optional only when identifier is provided. Please refer to AccountSASPermissions, {@link BlobSASPermissions}, or {@link ContainerSASPermissions} for more details.

memberof

SASQueryParametersOptions

Optional preauthorizedAgentObjectId

preauthorizedAgentObjectId: undefined | string

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 {@link signedUnauthorizedUserObjectId}. This is only used for User Delegation SAS.

memberof

SASQueryParametersOptions

Optional protocol

protocol: SASProtocol

Optional. The allowed HTTP protocol(s).

memberof

SASQueryParametersOptions

Optional resource

resource: undefined | string

Optional. Specifies which resources are accessible via the SAS (only for {@link BlobSASSignatureValues}).

see

https://docs.microsoft.com/rest/api/storageservices/create-service-sas#specifying-the-signed-resource-blob-service-only

memberof

SASQueryParametersOptions

Optional resourceTypes

resourceTypes: undefined | string

Optional. The storage resource types being accessed (only for Account SAS). Please refer to AccountSASResourceTypes for more details.

memberof

SASQueryParametersOptions

Optional services

services: undefined | string

Optional. The storage services being accessed (only for Account SAS). Please refer to AccountSASServices for more details.

memberof

SASQueryParametersOptions

Optional startsOn

startsOn: Date

Optional. The start time for this SAS token.

memberof

SASQueryParametersOptions

Optional userDelegationKey

userDelegationKey: UserDelegationKey

User delegation key properties.

memberof

SASQueryParametersOptions

Generated using TypeDoc