StorageSharedKeyCredential class
HANYA TERSEDIA DI RUNTIME NODE.JS.
StorageSharedKeyCredential untuk otorisasi kunci akun layanan Azure Storage.
- Extends
Konstruktor
Storage |
Membuat instans StorageSharedKeyCredential. |
Properti
account |
Nama akun Azure Storage; baca saja. |
Metode
computeHMACSHA256(string) | Menghasilkan tanda tangan hash untuk permintaan HTTP atau untuk SAS. |
create(Request |
Membuat objek StorageSharedKeyCredentialPolicy. |
Detail Konstruktor
StorageSharedKeyCredential(string, string)
Membuat instans StorageSharedKeyCredential.
new StorageSharedKeyCredential(accountName: string, accountKey: string)
Parameter
- accountName
-
string
- accountKey
-
string
Detail Properti
accountName
Nama akun Azure Storage; baca saja.
accountName: string
Nilai Properti
string
Detail Metode
computeHMACSHA256(string)
Menghasilkan tanda tangan hash untuk permintaan HTTP atau untuk SAS.
function computeHMACSHA256(stringToSign: string): string
Parameter
- stringToSign
-
string
Mengembalikan
string
create(RequestPolicy, RequestPolicyOptionsLike)
Membuat objek StorageSharedKeyCredentialPolicy.
function create(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike): StorageSharedKeyCredentialPolicy
Parameter
- nextPolicy
- IHttpClient
- options
- RequestPolicyOptions