lidong
lidong

Reputation: 608

Is there a way to get the key for Classic Azure Storage Account using powershell?

I think Get-AzureRmStorageAccountKey doesn't work with Classic Azure Storage Account. Get-AzureStorageAccount can return classic storage account, but it won't return the key.

thanks. Lidong

Upvotes: 0

Views: 886

Answers (1)

Wei Wei -Microsoft
Wei Wei -Microsoft

Reputation: 556

You can use cmdlet : Get-AzureStorageKey

Get-AzureStorageKey -StorageAccountName "ContosoStore01"

Upvotes: 2

Related Questions