Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Updated storage account command.
Browse files Browse the repository at this point in the history
  • Loading branch information
meyergm committed May 9, 2016
1 parent 6d9b8b9 commit 18946b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Powershell/Deploy-WTTWebApplication.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{
$containerName = "deployment-files"

$storageAccountKey = (Get-AzureRmStorageAccountKey -StorageAccountName $WTTEnvironmentApplicationName -ResourceGroupName $resourceGroupName).Key1
$storageAccountKey = (Get-AzureRmStorageAccountKey -StorageAccountName $WTTEnvironmentApplicationName -ResourceGroupName $resourceGroupName).Value[0]

# Get the storage account context
$context = New-AzureStorageContext –StorageAccountName $WTTEnvironmentApplicationName -StorageAccountKey $storageAccountKey -ea silentlycontinue
Expand Down
2 changes: 1 addition & 1 deletion Powershell/New-WTTADFEnvironment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function RegisterProvider()
function GetStorageAccountKey()
{
# Get Storage Account Primary Key
$storageAccountkey = (Get-AzureRMStorageAccountKey -ResourceGroupName $ResourceGroupName -storageAccountName $ApplicationName).Key1
$storageAccountkey = (Get-AzureRMStorageAccountKey -ResourceGroupName $ResourceGroupName -storageAccountName $ApplicationName).Value[0]

return $storageAccountKey
}
Expand Down

0 comments on commit 18946b8

Please sign in to comment.