PowerCLI Reference

Add-TrustedClusterKeyProviderServiceInfo

Synopsis

This cmdlet adds the key provider service information configured in the workload vCenter Server system to the trusted hosts in the given trusted cluster.

Syntax

Add-TrustedClusterKeyProviderServiceInfo [-TrustedCluster] <TrustedCluster> [-KeyProviderServiceInfo] <KeyProviderServiceInfo[]> [-Confirm] [-Server <VIServer[]>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Get-KeyProviderServiceInfo
Remove-TrustedClusterKeyProviderServiceInfo
Get-TrustedCluster
Set-TrustedCluster

Detailed Description

This cmdlet adds the key provider service information configured in the workload vCenter Server system to the trusted hosts in the given trusted cluster.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
TrustedClusterTrustedClusterSpecifies the trusted cluster where you can configure the trusted hosts with the key provider service information.trueTrue (ByValue)
KeyProviderServiceInfoKeyProviderServiceInfo[]Specifies the key provider service information that you can configure in the workload vCenter Server system.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
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
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.Void

Notes

Examples

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

$kmxService = Get-KeyProviderServiceInfo
Add-TrustedClusterKeyProviderServiceInfo -TrustedCluster myCluster -KeyProviderServiceInfo $kmxService

Adds the key provider service information configured in the workload vCenter Server system to the trusted hosts in the trusted cluster named myCluster.


Copyright © VMware, Inc. All rights reserved.