StorageSharedKeyCredential class
YALNıZCA NODE.JS ÇALıŞMA ZAMANıNDA KULLANıLABILIR.
Azure Depolama hizmetinin hesap anahtarı yetkilendirmesi için StorageSharedKeyCredential.
- Extends
Oluşturucular
| Storage |
StorageSharedKeyCredential örneği oluşturur. |
Özellikler
| account |
Azure Storage account name; Sadece okunabilir. |
Yöntemler
| computeHMACSHA256(string) | HTTP isteği veya SAS için hash imzası oluşturur. |
| create(Request |
Bir StorageSharedKeyCredentialPolicy nesnesi oluşturur. |
Oluşturucu Ayrıntıları
StorageSharedKeyCredential(string, string)
StorageSharedKeyCredential örneği oluşturur.
new StorageSharedKeyCredential(accountName: string, accountKey: string)
Parametreler
- accountName
-
string
- accountKey
-
string
Özellik Ayrıntıları
accountName
Azure Storage account name; Sadece okunabilir.
accountName: string
Özellik Değeri
string
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
create(RequestPolicy, RequestPolicyOptionsLike)
Bir StorageSharedKeyCredentialPolicy nesnesi oluşturur.
function create(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike): StorageSharedKeyCredentialPolicy
Parametreler
- nextPolicy
- RequestPolicy
- options
- RequestPolicyOptionsLike