mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
16 lines
625 B
PowerShell
16 lines
625 B
PowerShell
|
|
Param(
|
|
[Parameter(Mandatory=$true)]
|
|
[int]$KeyNumber
|
|
)
|
|
|
|
$keyName = "key$KeyNumber"
|
|
|
|
# Asset Cache:
|
|
New-AzStorageAccountKey -ResourceGroupName vcpkg-asset-cache -StorageAccountName vcpkgassetcacheeastasia -KeyName $keyName
|
|
|
|
# Binary Cache:
|
|
New-AzStorageAccountKey -ResourceGroupName vcpkg-binary-cache -StorageAccountName vcpkgbinarycache -KeyName $keyName
|
|
New-AzStorageAccountKey -ResourceGroupName vcpkg-binary-cache -StorageAccountName vcpkgbinarycacheeastasia -KeyName $keyName
|
|
New-AzStorageAccountKey -ResourceGroupName vcpkg-binary-cache -StorageAccountName vcpkgbinarycachewus3 -KeyName $keyName
|