Get-TrustAuthorityKeyProviderServerCertificate

This cmdlet retrieves the certificate from the Trust Authority key provider server or the certificate trusted by the specified Trust Authority key provider in the Trust Authority vCenter Server system.

Syntax

-KeyProviderServer  <TrustAuthorityKeyProviderServer[]>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
KeyProviderServer
TrustAuthorityKeyProviderServer[] named
  • pipeline
  • Specifies the Trust Authority key provider servers from which you want to retrieve the certificates.
    optional
    Server
    VIServer[] named Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.

    -KeyProvider  <TrustAuthorityKeyProvider[]>
    [-Server  <VIServer[]>]
    [-TrustAuthorityCluster  <TrustAuthorityCluster>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    required
    KeyProvider
    TrustAuthorityKeyProvider[] named
  • pipeline
  • Specifies the Trust Authority key providers from which you want to retrieve the trusted certificates.
    optional
    Server
    VIServer[] named Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.
    optional
    TrustAuthorityCluster
    TrustAuthorityCluster named Specifies the Trust Authority cluster where the Trust Authority key provider resides.

    Output

    VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TrustAuthorityKeyProviderServerCertificate

    Examples


    Example 1

    $kmsServer = Get-TrustAuthorityKeyProviderServer -KeyProvider myProvider
    Get-TrustAuthorityKeyProviderServerCertificate -KeyProviderServer $kmsServer

    Retrieves the certificates from the Trust Authority key provider server in the Trust Authority key provider myProvider.

    Example 2

    Get-TrustAuthorityKeyProviderServerCertificate -KeyProvider myProvider

    Retrieves the certificates that are trusted by the Trust Authority key provider myProvider.

    Related Commands

    Feedback

    Was this page helpful?