Skip to content

Instantly share code, notes, and snippets.

@artisticcheese
Created January 4, 2018 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save artisticcheese/fc3e07211f39524f1b56b30534e8f708 to your computer and use it in GitHub Desktop.
Save artisticcheese/fc3e07211f39524f1b56b30534e8f708 to your computer and use it in GitHub Desktop.
PS C:\> Set-AzureKeyVaultSecret -VaultName MyKeyVault -SecretName rootca -SecretValue (ConvertTo-SecureString (Get-Content C:\test\rootCA.cer -Raw) -force -AsPlainText )
Vault Name : mykeyvault
Name : rootca
Version : df87dbdf504045c298b3897ba55d3dbc
Id : https://mykeyvault.vault.azure.net:443/secrets/rootca/df87dbdf504045c298b3897ba55d3dbc
Enabled : True
Expires :
Not Before :
Created : 1/4/2018 3:19:38 PM
Updated : 1/4/2018 3:19:38 PM
Content Type :
Tags :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment