StorageSharedKeyCredential class

K DISPOZICI POUZE V NODE.JS RUNTIME.

StorageSharedKeyCredential pro autorizaci klíče účtu služby Azure Storage

Extends

Konstruktory

StorageSharedKeyCredential(string, string)

Vytváří instanci StorageSharedKeyCredential.

Vlastnosti

accountName

Azure Storage account name; pouze pro čtení.

Metody

computeHMACSHA256(string)

Generuje hashovací podpis pro HTTP požadavek nebo pro SAS.

create(RequestPolicy, RequestPolicyOptionsLike)

Vytváří objekt StorageSharedKeyCredentialPolicy (StorageSharedKeyCredentialPolicy).

Podrobnosti konstruktoru

StorageSharedKeyCredential(string, string)

Vytváří instanci StorageSharedKeyCredential.

new StorageSharedKeyCredential(accountName: string, accountKey: string)

Parametry

accountName

string

accountKey

string

Podrobnosti vlastnosti

accountName

Azure Storage account name; pouze pro čtení.

accountName: string

Hodnota vlastnosti

string

Podrobnosti metody

computeHMACSHA256(string)

Generuje hashovací podpis pro HTTP požadavek nebo pro SAS.

function computeHMACSHA256(stringToSign: string): string

Parametry

stringToSign

string

Návraty

string

create(RequestPolicy, RequestPolicyOptionsLike)

Vytváří objekt StorageSharedKeyCredentialPolicy (StorageSharedKeyCredentialPolicy).

function create(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike): StorageSharedKeyCredentialPolicy

Parametry

nextPolicy
RequestPolicy

Návraty