Package version:

Interface FileSASSignatureValues

ONLY AVAILABLE IN NODE.JS RUNTIME.

FileSASSignatureValues is used to help generating File service SAS tokens for shares or files.

interface FileSASSignatureValues {
    cacheControl?: string;
    contentDisposition?: string;
    contentEncoding?: string;
    contentLanguage?: string;
    contentType?: string;
    expiresOn?: Date;
    filePath?: string;
    identifier?: string;
    ipRange?: SasIPRange;
    permissions?: FileSASPermissions | ShareSASPermissions;
    protocol?: SASProtocol;
    shareName: string;
    startsOn?: Date;
    version?: string;
}

Properties

cacheControl?: string

Optional. The cache-control header for the SAS.

contentDisposition?: string

Optional. The content-disposition header for the SAS.

contentEncoding?: string

Optional. The content-encoding header for the SAS.

contentLanguage?: string

Optional. The content-language header for the SAS.

contentType?: string

Optional. The content-type header for the SAS.

expiresOn?: Date

Optional only when identifier is provided. The time after which the SAS will no longer work.

filePath?: string

Optional. The path of the file like, "directory/FileName" or "FileName".

identifier?: string

Optional. The name of the access policy on the share this SAS references if any.

ipRange?: SasIPRange

Optional. IP ranges allowed in this SAS.

Optional only when identifier is provided. Please refer to either ShareSASPermissions or FileSASPermissions depending on the resource being accessed for help constructing the permissions string.

protocol?: SASProtocol

Optional. SAS protocols, HTTPS only or HTTPSandHTTP

shareName: string

The name of the share the SAS user may access.

startsOn?: Date

Optional. When the SAS will take effect.

version?: string

The version of the service this SAS will target. If not specified, it will default to the version targeted by the library.