StorageSharedKeyCredential class
ALLEEN BESCHIKBAAR IN NODE.JS RUNTIME.
StorageSharedKeyCredential voor accountsleutelautorisatie van de Azure Storage-service.
- Uitbreiding
Constructors
| Storage |
Maakt een instantie aan van StorageSharedKeyCredential. |
Eigenschappen
| account |
Azure Storage-accountnaam; Alleen-lezen. |
Methoden
| computeHMACSHA256(string) | Genereert een hashhandtekening voor een HTTP-verzoek of voor een SAS. |
| create(Request |
Maakt een object StorageSharedKeyCredentialPolicy aan. |
Constructordetails
StorageSharedKeyCredential(string, string)
Maakt een instantie aan van StorageSharedKeyCredential.
new StorageSharedKeyCredential(accountName: string, accountKey: string)
Parameters
- accountName
-
string
- accountKey
-
string
Eigenschapdetails
accountName
Azure Storage-accountnaam; Alleen-lezen.
accountName: string
Waarde van eigenschap
string
Methodedetails
computeHMACSHA256(string)
Genereert een hashhandtekening voor een HTTP-verzoek of voor een SAS.
function computeHMACSHA256(stringToSign: string): string
Parameters
- stringToSign
-
string
Retouren
string
create(RequestPolicy, RequestPolicyOptionsLike)
Maakt een object StorageSharedKeyCredentialPolicy aan.
function create(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike): StorageSharedKeyCredentialPolicy
Parameters
- nextPolicy
- RequestPolicy
- options
- RequestPolicyOptionsLike