共用方式為


StorageSharedKeyCredential class

僅適用于NODE.JS執行時間。 Azure 儲存體服務帳戶金鑰授權的 StorageSharedKeyCredential。

Extends

建構函式

StorageSharedKeyCredential(string, string)

建立 StorageSharedKeyCredential 的實例。

屬性

accountName

Azure 儲存體帳戶名稱;readonly。

方法

computeHMACSHA256(string)

為 HTTP 要求或 SAS 產生雜湊簽章。

create(RequestPolicy, RequestPolicyOptions)

建立 StorageSharedKeyCredentialPolicy 物件。

建構函式詳細資料

StorageSharedKeyCredential(string, string)

建立 StorageSharedKeyCredential 的實例。

new StorageSharedKeyCredential(accountName: string, accountKey: string)

參數

accountName

string

accountKey

string

屬性詳細資料

accountName

Azure 儲存體帳戶名稱;readonly。

accountName: string

屬性值

string

方法詳細資料

computeHMACSHA256(string)

為 HTTP 要求或 SAS 產生雜湊簽章。

function computeHMACSHA256(stringToSign: string)

參數

stringToSign

string

傳回

string

create(RequestPolicy, RequestPolicyOptions)

建立 StorageSharedKeyCredentialPolicy 物件。

function create(nextPolicy: RequestPolicy, options: RequestPolicyOptions)

參數

nextPolicy

RequestPolicy

options

RequestPolicyOptions

傳回