Created
March 31, 2019 10:07
-
-
Save samilamti/e8930b85ba42ecb47ddba15caa8fa79c to your computer and use it in GitHub Desktop.
Creating and renewing your website certificates from Let's Encrypt, snippet 13
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
Import-AzureKeyVaultCertificate ` | |
-VaultName $VaultName ` | |
-Name "le-cert-$KeyVaultNameSuffix" ` | |
-FilePath ($PaCertificate.PfxFullChain) ` | |
-Password ($CertificatePassword) | |
Set-AzureKeyVaultSecret ` | |
-VaultName $VaultName ` | |
-Name "le-cert-password-$KeyVaultNameSuffix" ` | |
-SecretValue $CertificatePassword |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment