Skip to content

Commit

Permalink
[AppService]: fix #14790- updated `Import-AzWebAppKeyVaultCertificate…
Browse files Browse the repository at this point in the history
…1` to set the default name with combination of keyvault name and cert name (#15937)

* Updated changelog.md

* fix #14790- updated `Import-AzWebAppKeyVaultCertificate1` to set the default name with combination of keyvault name and cert name

* Update ChangeLog.md

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
  • Loading branch information
Kotasudhakarreddy and wyunchi-ms authored Sep 24, 2021
1 parent 75bf9b9 commit 2511b07
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ function Test-ImportAzWebAppKeyVaultCertificate
{
#Setup
$kvcert = Import-AzWebAppKeyVaultCertificate -ResourceGroupName $rgname -WebAppName $wname -KeyVaultName $keyvaultname -CertName $keyvaultcertname
$default_webapp_certname= $keyvaultname+'-'+$keyvaultcertname
# Assert
Assert-AreEqual $kvcert.Name $default_webapp_certname

}
finally{
Expand Down
Loading

0 comments on commit 2511b07

Please sign in to comment.