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-AzureStorageAccountKey

Get-AzureStorageAccountKey

microsoft.azure.commands.compute.dll, microsoft.azure.commands.management.storage.dll

Synopsis

Get the access keys for an Azure storage account

Syntax

Get-AzureStorageAccountKey [-ResourceGroupName] [-Name] [-Profile] [-InformationAction] [-InformationVariable] [<CommonParameters>]

Detailed Description

This cmdlet allows you to get the access keys for an Azure storage account.

Parameters

-ResourceGroupName <String>

Name of the Resource Group

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Name <String>

Name of the Storage Account

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Profile <AzureProfile>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-InformationAction <ActionPreference>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-InformationVariable <String>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Get the access keys for a Storage Account --------------------------

#Get keys
          Get-AzureStorageAccountKey -ResourceGroupName "RG1" -AccountName "myStorageAccount"