Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureStorSimpleStorageAccountCredential

Get-AzureStorSimpleStorageAccountCredential

microsoft.windowsazure.commands.storsimple.dll

Synopsis

Gets credentials for storage accounts.

Syntax

Get-AzureStorSimpleStorageAccountCredential [-StorageAccountName] [-Profile] [<CommonParameters>]

Detailed Description

The Get-AzureStorSimpleStorageAccountCredential cmdlet gets credentials for storage accounts. This cmdlet gets all StorageAccountCredential objects configured in the service or a named StorageAccountCredential.

Parameters

-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile>

Specifies an Azure profile.

Aliases

none

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-StorageAccountName <String>

Specifies the name of the storage account for which to get credentials.

Aliases

Name

Required?

false

Position

1

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None

Return Type

StorageAccountCredential, IList<StorageAccountCredential>

Notes

None

Examples

Example 1: Get all credentials for a resource

This command gets all available credentials for storage accounts for the current resource.

PS C:\>Get-AzureStorSimpleStorageAccountCredential
InstanceId                           Login           Name            UseSSL VolumeCount     CloudType    Location
----------                           -----           ----            ------ -----------     ---------    --------
b5e0857f-82ef-4426-883b-a612889ebee4 qwertyuiopa     AdminAccount    True   24              Azure

Example 2: Get the credential for a specific storage account

This command gets the storage account credential for the storage account named ContosoCloudStorage.

PS C:\>Get-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoCloudStorage"
VERBOSE: ClientRequestId: 16551af6-3398-4d30-a389-1b8eb01ce92c_PS
VERBOSE: ClientRequestId: 5041277d-4044-4b6c-ae19-4ea9e7ae135a_PS
VERBOSE: Storage Access Credential with name ContosoCloudStorage found! 


CloudType                        : Azure
Hostname                         : blob.core.windows.net
InstanceId                       : 8b3cb7bb-963b-4173-9598-52fe230b0350
IsDefault                        : False
Location                         : West US
Login                            : ContosoCloudStorage
Name                             : ContosoCloudStorage
OperationInProgress              : None
Password                         : 
PasswordEncryptionCertThumbprint : 
UseSSL                           : True
VolumeCount                      : 0

New-AzureStorSimpleStorageAccountCredential
Remove-AzureStorSimpleStorageAccountCredential
Set-AzureStorSimpleStorageAccountCredential