Created
November 23, 2015 01:59
-
-
Save sjwaight/6251bf53a752dcfdfada to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Convert plaintext to secure string | |
$adminPass = ConvertTo-SecureString -String 'L0Lcat5^_^!' -AsPlainText -Force | |
# Add the password as a Secret | |
Set-AzureKeyVaultSecret -VaultName 'ProvisionVault' -Name 'LocalAdminPass' -SecretValue $adminPass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment