We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a41ca6b commit ae80518Copy full SHA for ae80518
src/KeyVault/KeyVault/help/Get-AzKeyVaultCertificate.md
@@ -108,7 +108,7 @@ This command gets the certificate named TestCert01 from the key vault named Cont
108
109
```powershell
110
$cert = Get-AzKeyVaultCertificate -VaultName "ContosoKV01" -Name "TestCert01"
111
-$secret = Get-AzKeyVaultSecret -VaultName $vaultName -Name $cert.SecretId
+$secret = Get-AzKeyVaultSecret -VaultName $vaultName -Name $cert.Name
112
113
$secretByte = [Convert]::FromBase64String($secret.SecretValueText)
114
$x509Cert = new-object System.Security.Cryptography.X509Certificates.X509Certificate2
0 commit comments