Share via


StorageSharedKeyCredential class

YALNıZCA NODE.JS ÇALıŞMA ZAMANıNDA KULLANıLABILIR. Azure Depolama hizmetinin hesap anahtarı yetkilendirmesi için StorageSharedKeyCredential.

Extends

Oluşturucular

StorageSharedKeyCredential(string, string)

StorageSharedKeyCredential örneğini oluşturur.

Özellikler

accountName

Azure Depolama hesabı adı; Readonly.

Yöntemler

computeHMACSHA256(string)

HTTP isteği veya SAS için karma imza oluşturur.

create(RequestPolicy, RequestPolicyOptions)

Bir StorageSharedKeyCredentialPolicy nesnesi oluşturur.

Oluşturucu Ayrıntıları

StorageSharedKeyCredential(string, string)

StorageSharedKeyCredential örneğini oluşturur.

new StorageSharedKeyCredential(accountName: string, accountKey: string)

Parametreler

accountName

string

accountKey

string

Özellik Ayrıntıları

accountName

Azure Depolama hesabı adı; Readonly.

accountName: string

Özellik Değeri

string

Yöntem Ayrıntıları

computeHMACSHA256(string)

HTTP isteği veya SAS için karma imza oluşturur.

function computeHMACSHA256(stringToSign: string): string

Parametreler

stringToSign

string

Döndürülenler

string

create(RequestPolicy, RequestPolicyOptions)

Bir StorageSharedKeyCredentialPolicy nesnesi oluşturur.

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

Parametreler

nextPolicy

RequestPolicy

options

RequestPolicyOptions

Döndürülenler