Skip to content

Commit

Permalink
enable public access for the storage account in blob live test (Azure…
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanz7 authored Jul 22, 2024
1 parent 63e34d3 commit 2ba4dae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Invoke-LiveTestScenario -Name "Blob basics" -Description "Test blob basic operat
$ContentMD5 = "i727sP7HigloQDsqadNLHw=="
$testfile512path = "$PSScriptRoot\TestFiles\testfile512"

$account = New-AzStorageAccount -ResourceGroupName $rgName -Name $storageAccountName -Location $location -SkuName Standard_GRS
$account = New-AzStorageAccount -ResourceGroupName $rgName -Name $storageAccountName -Location $location -SkuName Standard_GRS -AllowBlobPublicAccess $true
$ctx = $account.Context
$container = New-AzStorageContainer -Name $containerName -Context $ctx
$containerSAS = New-AzStorageContainerSASToken -Name $containerName -Permission radwl -ExpiryTime 5000-01-01 -Context $ctx
Expand Down

0 comments on commit 2ba4dae

Please sign in to comment.