Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add a certificate to the Azure Key Vault
# Get the certficate from the local machine that will be put into the Azure Key Vault
Set-AzureCertificate -Path C:\temp\Certificate\AADselfsignedcert.pfx -Name "AADAppCert" -Password ($pwd = Read-Host -AsSecureString) -VaultName $name -StorageAccountName $name
$AzVaultCert = Get-AzureCertificate -Name "AADAppCert" -VaultName $name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.