다음을 통해 공유


StorageSharedKeyCredential Class

Definition

A StorageSharedKeyCredential is a credential backed by a Storage Account's name and one of its access keys.

public class StorageSharedKeyCredential
type StorageSharedKeyCredential = class
Public Class StorageSharedKeyCredential
Inheritance
StorageSharedKeyCredential

Constructors

StorageSharedKeyCredential(String, String)

Initializes a new instance of the StorageSharedKeyCredential class.

Properties

AccountName

Gets the name of the Storage Account.

Methods

ComputeSasSignature(StorageSharedKeyCredential, String)

Generates a base-64 hash signature string for an HTTP request or for a SAS.

SetAccountKey(String)

Update the Storage Account's access key. This intended to be used when you've regenerated your Storage Account's access keys and want to update long lived clients.

Applies to