Add-TrustedClusterAttestationServiceInfo Command | Vmware PowerCLI Reference

Add-TrustedClusterAttestationServiceInfo

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

Syntax

Add-TrustedClusterAttestationServiceInfo
[ -AttestationServiceInfo ] < AttestationServiceInfo[] >
-TrustedCluster < TrustedCluster >
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
AttestationServiceInfo AttestationServiceInfo[] 1
Specifies the attestation 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 attestation service information.
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

$attestService = Get-AttestationServiceInfo
Add-TrustedClusterAttestationServiceInfo -TrustedCluster myCluster -AttestationServiceInfo $attestService

Adds the attestation 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.