Add-TrustedClusterKeyProviderServiceInfo Command | Vmware PowerCLI Reference

Add-TrustedClusterKeyProviderServiceInfo

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
[ -KeyProviderServiceInfo ] < KeyProviderServiceInfo[] >
-TrustedCluster < TrustedCluster >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
KeyProviderServiceInfo KeyProviderServiceInfo[] 1
Specifies the key provider service information that you can configure in the workload vCenter Server system.
required
TrustedCluster TrustedCluster named
  • pipeline
Specifies the trusted cluster where you can configure the trusted hosts with the key provider service information.
optional ProgressAction ActionPreference named
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.

Output

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.

Related Commands

TrustedCluster

This cmdlet retrieves the trusted clusters from the connected workload vCenter Server system.

This cmdlet modifies the configuration of the trusted clusters in the workload vCenter Server system.

TrustedClusterAppliedStatus

This cmdlet retrieves the applied status of the trusted service information on the trusted clusters in the workload vCenter Server system.

TrustedClusterAttestationServiceInfo

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

This cmdlet removes the attestation services information from the specified trusted cluster in the workload vCenter Server system.

TrustedClusterKeyProviderServiceInfo

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

This cmdlet removes the key provider services information from the specified trusted cluster in the workload vCenter Server system.