StorageCredentials StorageCredentials StorageCredentials Constructors

Definition

Overloads

StorageCredentials() StorageCredentials()

Initializes a new instance of the StorageCredentials class.

StorageCredentials(TokenCredential) StorageCredentials(TokenCredential)

Initializes a new instance of the StorageCredentials class with the specified bearer token.

StorageCredentials(String) StorageCredentials(String) StorageCredentials(String)

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

StorageCredentials(String, Byte[]) StorageCredentials(String, Byte[]) StorageCredentials(String, Byte[])

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

StorageCredentials(String, String) StorageCredentials(String, String) StorageCredentials(String, String)

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

StorageCredentials(String, Byte[], String) StorageCredentials(String, Byte[], String) StorageCredentials(String, Byte[], String)

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

StorageCredentials(String, String, String) StorageCredentials(String, String, String) StorageCredentials(String, String, String)

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

StorageCredentials() StorageCredentials()

Initializes a new instance of the StorageCredentials class.

public StorageCredentials ();
Public Sub New ()

StorageCredentials(TokenCredential) StorageCredentials(TokenCredential)

Initializes a new instance of the StorageCredentials class with the specified bearer token.

public StorageCredentials (Microsoft.WindowsAzure.Storage.Auth.TokenCredential tokenCredential);
new Microsoft.WindowsAzure.Storage.Auth.StorageCredentials : Microsoft.WindowsAzure.Storage.Auth.TokenCredential -> Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
Parameters
tokenCredential
TokenCredential TokenCredential TokenCredential

The authentication token.

StorageCredentials(String) StorageCredentials(String) StorageCredentials(String)

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

public StorageCredentials (string sasToken);
new Microsoft.WindowsAzure.Storage.Auth.StorageCredentials : string -> Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
Public Sub New (sasToken As String)
Parameters
sasToken
String String String

A string representing the shared access signature token.

StorageCredentials(String, Byte[]) StorageCredentials(String, Byte[]) StorageCredentials(String, Byte[])

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

public StorageCredentials (string accountName, byte[] keyValue);
new Microsoft.WindowsAzure.Storage.Auth.StorageCredentials : string * byte[] -> Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
Public Sub New (accountName As String, keyValue As Byte())
Parameters
accountName
String String String

A string that represents the name of the storage account.

keyValue
Byte[]

An array of bytes that represent the account access key.

StorageCredentials(String, String) StorageCredentials(String, String) StorageCredentials(String, String)

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

public StorageCredentials (string accountName, string keyValue);
new Microsoft.WindowsAzure.Storage.Auth.StorageCredentials : string * string -> Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
Public Sub New (accountName As String, keyValue As String)
Parameters
accountName
String String String

A string that represents the name of the storage account.

keyValue
String String String

A string that represents the Base64-encoded account access key.

StorageCredentials(String, Byte[], String) StorageCredentials(String, Byte[], String) StorageCredentials(String, Byte[], String)

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

public StorageCredentials (string accountName, byte[] keyValue, string keyName);
new Microsoft.WindowsAzure.Storage.Auth.StorageCredentials : string * byte[] * string -> Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
Public Sub New (accountName As String, keyValue As Byte(), keyName As String)
Parameters
accountName
String String String

A string that represents the name of the storage account.

keyValue
Byte[]

An array of bytes that represent the account access key.

keyName
String String String

A string that represents the name of the key.

StorageCredentials(String, String, String) StorageCredentials(String, String, String) StorageCredentials(String, String, String)

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

public StorageCredentials (string accountName, string keyValue, string keyName);
new Microsoft.WindowsAzure.Storage.Auth.StorageCredentials : string * string * string -> Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
Public Sub New (accountName As String, keyValue As String, keyName As String)
Parameters
accountName
String String String

A string that represents the name of the storage account.

keyValue
String String String

A string that represents the Base64-encoded account access key.

keyName
String String String

A string that represents the name of the key.

Applies to