EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

StorageCredentials Class

 

Updated: February 24, 2017

Represents a set of credentials used to authenticate access to a Microsoft Azure storage account.

Namespace:   Microsoft.WindowsAzure.Storage.Auth
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

System.Object
  Microsoft.WindowsAzure.Storage.Auth.StorageCredentials

public sealed class StorageCredentials

NameDescription
System_CAPS_pubmethodStorageCredentials()

Initializes a new instance of the StorageCredentials class.

System_CAPS_pubmethodStorageCredentials(String)

Initializes a new instance of the StorageCredentials class with the specified shared access signature token.

System_CAPS_pubmethodStorageCredentials(String, Byte[])

Initializes a new instance of the StorageCredentials class with the specified account name and key value.

System_CAPS_pubmethodStorageCredentials(String, Byte[], String)

Initializes a new instance of the StorageCredentials class with the specified account name, key value, and key name.

System_CAPS_pubmethodStorageCredentials(String, String)

Initializes a new instance of the StorageCredentials class with the specified account name and key value.

System_CAPS_pubmethodStorageCredentials(String, String, String)

Initializes a new instance of the StorageCredentials class with the specified account name, key value, and key name.

NameDescription
System_CAPS_pubpropertyAccountName

Gets the associated account name for the credentials.

System_CAPS_pubpropertyIsAnonymous

Gets a value indicating whether the credentials are for anonymous access.

System_CAPS_pubpropertyIsSAS

Gets a value indicating whether the credentials are a shared access signature token.

System_CAPS_pubpropertyIsSharedKey

Gets a value indicating whether the credentials are a shared key.

System_CAPS_pubpropertyKeyName

Gets the associated key name for the credentials.

System_CAPS_pubpropertySASSignature

Gets the value of the shared access signature token's

sig

parameter.

System_CAPS_pubpropertySASToken

Gets the associated shared access signature token for the credentials.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodEquals(StorageCredentials)

Determines whether an other StorageCredentials object is equal to this one by comparing their SAS tokens, account names, key names, and key values.

System_CAPS_pubmethodExportBase64EncodedKey()

Exports the value of the account access key to a Base64-encoded string.

System_CAPS_pubmethodExportKey()

Returns the account key for the credentials.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTransformUri(StorageUri)

Transforms a resource URI into a shared access signature URI, by appending a shared access token.

System_CAPS_pubmethodTransformUri(Uri)

Transforms a resource URI into a shared access signature URI, by appending a shared access token.

System_CAPS_pubmethodUpdateKey(Byte[])

Updates the key value for the credentials.

System_CAPS_pubmethodUpdateKey(Byte[], String)

Updates the key value and key name for the credentials.

System_CAPS_pubmethodUpdateKey(String)

Updates the key value for the credentials.

System_CAPS_pubmethodUpdateKey(String, String)

Updates the key value and key name for the credentials.

System_CAPS_pubmethodUpdateSASToken(String)

Updates the shared access signature (SAS) token value for storage credentials created with a shared access signature.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Visa: