PowerCLI Reference

Get-TrustAuthorityKeyProviderServerCertificate

Synopsis

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

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

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

Related Commands

Online Version
Add-TrustAuthorityKeyProviderServerCertificate
Remove-TrustAuthorityKeyProviderServerCertificate
Get-TrustAuthorityKeyProviderServer

Detailed Description

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.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
KeyProviderTrustAuthorityKeyProvider[]Specifies the Trust Authority key providers from which you want to retrieve the trusted certificates.trueTrue (ByValue)
KeyProviderServerTrustAuthorityKeyProviderServer[]Specifies the Trust Authority key provider servers from which you want to retrieve the certificates.trueTrue (ByValue)
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.falseFalse
TrustAuthorityClusterTrustAuthorityClusterSpecifies the Trust Authority cluster where the Trust Authority key provider resides.falseFalse

Return Type

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

Notes

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.


Copyright © VMware, Inc. All rights reserved.