Skip to content

Commit

Permalink
Merge pull request #2350 from lanicolas/key
Browse files Browse the repository at this point in the history
Azure Arc-enabled data services- update secure string variable
  • Loading branch information
lanicolas authored Jan 11, 2024
2 parents c24436c + 0844e12 commit 35f7b41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"type": "string"
},
"logAnalyticsPrimaryKey": {
"type": "string"
"type": "securestring"
},
"resourceTags": {
"type": "object"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ Set-VMHost -EnableEnhancedSessionMode $true
Write-Host "Fetching Nested VMs"
Write-Host "`n"
$sourceFolder = 'https://jsvhds.blob.core.windows.net/arcbox'
$sas = "*?si=ArcBox-RL&spr=https&sv=2022-11-02&sr=c&sig=vg8VRjM00Ya%2FGa5izAq3b0axMpR4ylsLsQ8ap3BhrnA%3D"
$sas = "?si=ArcBox-RL&spr=https&sv=2022-11-02&sr=c&sig=vg8VRjM00Ya%2FGa5izAq3b0axMpR4ylsLsQ8ap3BhrnA%3D"

$Env:AZCOPY_BUFFER_GB=4
Write-Output "Downloading nested VMs VHDX file for SQL. This can take some time, hold tight..."
azcopy cp "$sourceFolder/ArcBox-SQL.vhdx$sas" "$Env:ArcBoxVMDir\ArcBox-SQL.vhdx" --check-length=false --cap-mbps 1200 --log-level=ERROR
Expand Down Expand Up @@ -357,4 +358,4 @@ Start-Sleep -Seconds 5

Stop-Process -Name powershell -Force

Stop-Transcript
Stop-Transcript
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"type": "string"
},
"logAnalyticsPrimaryKey": {
"type": "string"
"type": "securestring"
},
"resourceTags": {
"type": "object"
Expand Down

0 comments on commit 35f7b41

Please sign in to comment.