PowerCLI Reference

Add-AttestationServiceInfo

Synopsis

This cmdlet adds an attestation service information, which comes from the TrustAuthorityAttestationService that runs in the Trust Authority system or its detailed information in the workload vCenter Server system.

Syntax

Add-AttestationServiceInfo [-AttestationService] <TrustAuthorityAttestationService[]> [-Confirm] [-Server <VIServer[]>] [-WhatIf] [<CommonParameters>]

Add-AttestationServiceInfo [-ServiceAddress] <String> [-Confirm] [-FilePath <String>] [-Server <VIServer[]>] -ServiceGroup <String> [-ServicePort <Int32>] -TAClusterId <String> [-TrustedCA <X509Chain>] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Remove-AttestationServiceInfo
Add-TrustedClusterAttestationServiceInfo
Remove-TrustedClusterAttestationServiceInfo
Get-TrustAuthorityAttestationService

Detailed Description

This cmdlet adds an attestation service information, which comes from the TrustAuthorityAttestationService that runs in the Trust Authority system or its detailed information in the workload vCenter Server system.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
AttestationServiceTrustAuthorityAttestationService[]Specifies the Trust Authority attestation services that you want to retrieve from the Trust Authority system.trueTrue (ByValue)
ServiceAddressStringSpecifies the service address that you want to retrieve from the service address in the Trust Authority attestation service in the Trust Authority 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
FilePathStringSpecifies a file that stores the X509Chain data you want to use to connect to the Trust Authority attestation service.


Either this parameter or the TrustedCA should be specified.
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
ServiceGroupStringSpecifies the service group that you want to retrieve from the service group in the Trust Authority attestation service in the Trust Authority system.trueFalse
ServicePortInt32Specifies the number of the service port which is retrieved from the service port in the Trust Authority attestation service in the Trust Authority system.falseFalse
TAClusterIdStringSpecifies the Trust Authority cluster ID which you want to retrieve from the Trust Authority cluster ID in the running Trust Authority attestation service in the Trust Authority system.trueFalse
TrustedCAX509ChainSpecifies the Trusted Certificate Authority which you want to retrieve from the Trusted Certificate Authority in the running Trust Authority attestation service in the Trust Authority system.


Either this parameter or the FilePath should be specified.
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.AttestationServiceInfo

Notes

Examples

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

$attestService = Get-TrustAuthorityAttestationService -Server trustAuthoritySystem
Add-AttestationServiceInfo -AttesattionService $attestService -Server workloadSystem

Adds the attestation service information to the workload vCenter Server system by specifying the TrustAuthorityAttesationService objects retrieved from the Trust Authority system.

-------------------------- Example 2 --------------------------

$attestService = Get-TrustAuthorityAttestationService -Server trustAuthoritySystem | select -First 1
Add-AttestationServiceInfo -ServiceAddress $attestService.ServiceAddress -ServiceGroup $attestService.ServiceGroup -TAClusterId $attestService.TrustAuthorityClusterId -TrustedCA $attestService.TrustedCA -ServicePort $attestService.ServicePort -Server workloadSystem

Adds the attestation service information to the workload vCenter Server system by specifying detailed information of the TrustAuthorityAttesationService running in the Trust Authority system.


Copyright © VMware, Inc. All rights reserved.