PowerCLI Reference

Add-TrustAuthorityKeyProviderServer

Synopsis

This cmdlet adds a new Trust Authority key provider server to an existing Trust Authority key provider in the Trust Authority system.

Syntax

Add-TrustAuthorityKeyProviderServer [-KeyProvider] <TrustAuthorityKeyProvider> [-Address] <String> [-Confirm] [-Name <String>] [-Port <Int32>] [-Server <VIServer[]>] [-TrustAuthorityCluster <TrustAuthorityCluster>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Remove-TrustAuthorityKeyProviderServer
Get-TrustAuthorityKeyProviderServer
Get-TrustAuthorityKeyProvider

Detailed Description

This cmdlet adds a new Trust Authority key provider server to an existing Trust Authority key provider in the Trust Authority system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
KeyProviderTrustAuthorityKeyProviderSpecifies the Trust Authority key provider to which you want to add a new Trust Authority key provider Server.trueTrue (ByValue)
AddressStringSpecifies the address of the key provider server that you want to add.trueFalse
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
NameStringSpecifies the name of the new Trust Authority key provider server. If it's not specified, the name is the same as the Address parameter.falseFalse
PortInt32Specifies the number of the port that the Trust Authority key provider server uses to communicate with the Trust Authority key provider.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

VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TrustAuthorityKeyProviderServer

Notes

Examples

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

$kp = Get-TrustAuthorityKeyProvider -Name myProvider -TrustAuthorityCluster myCluster
Add-TrustAuthorityKeyProviderServer -KeyProvider $kp -Address 1.1.1.1

Adds a new Trust Authority key provider server with address 1.1.1.1 to the Trust Authority key provider named myProvider.


Copyright © VMware, Inc. All rights reserved.