get friendly name from certificate in key vault?

Yim, Sam 126 Reputation points
2022-05-11T17:35:11.813+00:00

I saw in my key vault for the certificates, it doesn't show friendly name for the certificate as one of the fields. Is it possible to retrieve the friendly name from the certificate that is stored in key vault?

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,126 questions
{count} votes

Accepted answer
  1. JamesTran-MSFT 36,376 Reputation points Microsoft Employee
    2022-05-12T23:53:04.927+00:00

    @Yim, Sam
    Thank you for following up on this!

    From your screenshot - subject, issuer, secret identifier, etc., are the specific certificate version properties/policy. When it comes to the name of the certificate that you created, you should be able to find it within your Key Vault under Certificates.
    201604-image.png

    If you're leveraging PowerShell, you can find the name of the certificate within the Name field

    Links:
    Get-AzKeyVault
    Get-AzKeyVaultCertificate

    #Get all Certificates within your Key Vault  
    Get-AzKeyVaultCertificate -VaultName "jtranKeyVault"  
    
    #Get Certificate by name  
    Get-AzKeyVaultCertificate -VaultName "jtranKeyVault" -Name "FriendlyNameCert"  
    

    201605-image.png

    When you mention using a DSC to grab the certificate, I'm assuming you could be referring to something similar to the Key Vault virtual machine extension for Windows. If so, you should be able to navigate to the file path - C:\WindowsAzure\Logs\Plugins\Microsoft.Azure.KeyVault.KeyVaultForWindows\most recent version\, to find the Certificate name by looking for the full certificate ID/URL. For more info - Logs and configuration.
    201574-image.png

    I hope this helps!

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


0 additional answers

Sort by: Most helpful