Created
January 17, 2022 22:53
-
-
Save vukasinterzic/f5077a6b421bb3da4f95764a494cb522 to your computer and use it in GitHub Desktop.
Create new KeyVault with PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create new KeyVault with PowerShell | |
$KeyVault = @{ | |
Name = "myKeyVaultName" | |
ResourceGroupName = "myResourceGroupName" | |
Location = "myLocation" | |
EnabledForDeployment = $false | |
EnabledForTemplateDeployment = $false | |
EnabledForDiskEncryption = $false | |
tags = @{ | |
tag1 = "value1" | |
tag2 = "value2" | |
} | |
} | |
New-AzKeyVault @KeyVault |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment