PowerCLI Reference

New-TrustAuthorityKeyProviderClientCertificate

Synopsis

This cmdlet creates a client certificate for the specified Trust Authority key provider in the Trust Authority vCenter Server system.

Syntax

New-TrustAuthorityKeyProviderClientCertificate [-KeyProvider] <TrustAuthorityKeyProvider> [-Confirm] [-Server <VIServer[]>] [-TrustAuthorityCluster <TrustAuthorityCluster>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-TrustAuthorityKeyProvider
Get-TrustAuthorityKeyProviderClientCertificate
Export-TrustAuthorityKeyProviderClientCertificate
Set-TrustAuthorityKeyProviderClientCertificate

Detailed Description

This cmdlet creates a client certificate for the specified Trust Authority key provider in the Trust Authority vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
KeyProviderTrustAuthorityKeyProviderSpecifies the Trust Authority key provider for which you want to generate a client certificate.trueTrue (ByValue)
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
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
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

System.Security.Cryptography.X509Certificates.X509Certificate2

Notes

Examples

-------------------------- Example 1 --------------------------

New-TrustAuthorityKeyProviderClientCertificate -KeyProvider mykp

Creates the client certificate for the Trust Authority key provider mykp.


Copyright © VMware, Inc. All rights reserved.