Aracılığıyla paylaş


UserDelegationKeyCredential class

YALNıZCA NODE.JS ÇALıŞMA ZAMANıNDA KULLANıLABILIR.

UserDelegationKeyCredential yalnızca kullanıcı delegasyonu SAS üretimi için kullanılır.

Bkz. https://learn.microsoft.com/rest/api/storageservices/create-user-delegation-sas

Oluşturucular

UserDelegationKeyCredential(string, UserDelegationKey)

UserDelegationKeyCredential örneği oluşturur.

Özellikler

accountName

Azure Storage account name; Sadece okunabilir.

userDelegationKey

Azure Storage kullanıcı delegasyon anahtarı; Sadece okunabilir.

Yöntemler

computeHMACSHA256(string)

HTTP isteği veya SAS için hash imzası oluşturur.

Oluşturucu Ayrıntıları

UserDelegationKeyCredential(string, UserDelegationKey)

UserDelegationKeyCredential örneği oluşturur.

new UserDelegationKeyCredential(accountName: string, userDelegationKey: UserDelegationKey)

Parametreler

accountName

string

userDelegationKey
UserDelegationKey

Özellik Ayrıntıları

accountName

Azure Storage account name; Sadece okunabilir.

accountName: string

Özellik Değeri

string

userDelegationKey

Azure Storage kullanıcı delegasyon anahtarı; Sadece okunabilir.

userDelegationKey: UserDelegationKey

Özellik Değeri

Yöntem Ayrıntıları

computeHMACSHA256(string)

HTTP isteği veya SAS için hash imzası oluşturur.

function computeHMACSHA256(stringToSign: string): string

Parametreler

stringToSign

string

Döndürülenler

string