Share via


StorageSharedKeyCredential class

NODE.JS 런타임에서만 사용할 수 있습니다.

Azure Storage 서비스의 계정 키 권한 부여를 위한 StorageSharedKeyCredential입니다.

Extends

생성자

StorageSharedKeyCredential(string, string)

StorageSharedKeyCredential의 인스턴스를 만듭니다.

속성

accountName

Azure Storage 계정 이름; 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 Storage 계정 이름; Readonly.

accountName: string

속성 값

string

메서드 세부 정보

computeHMACSHA256(string)

HTTP 요청 또는 SAS에 대한 해시 서명을 생성합니다.

function computeHMACSHA256(stringToSign: string): string

매개 변수

stringToSign

string

반환

string

create(RequestPolicy, RequestPolicyOptions)

StorageSharedKeyCredentialPolicy 개체를 만듭니다.

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

매개 변수

nextPolicy
RequestPolicy

반환