StorageAccountOperationsExtensions.GetKeys Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Get Storage Keys operation returns the primary and secondary access keys for the specified storage account. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460785.aspx for more information)
public static Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountGetKeysResponse GetKeys (this Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations operations, string accountName);
static member GetKeys : Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations * string -> Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountGetKeysResponse
<Extension()>
Public Function GetKeys (operations As IStorageAccountOperations, accountName As String) As StorageAccountGetKeysResponse
Parameters
- operations
- IStorageAccountOperations
Reference to the Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations.
- accountName
- String
Required. The name of the desired storage account.
Returns
The primary and secondary access keys for a storage account.
Applies to
Azure SDK for .NET