Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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