Syntax
Add-KeyProviderServiceInfo [-ServiceAddress] <String> [-Confirm] [-FilePath <String>] [-Server <VIServer[]>] -ServiceGroup <String> [-ServicePort <Int32>] -TAClusterId <String> [-TrustedCA <X509Chain>] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet adds key provider service information, which comes from the Trust Authority key provider service running in the Trust Authority system or its detailed information in the workload vCenter Server system.Parameters
Return Type
VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.KeyProviderServiceInfoNotes
Examples
-------------------------- Example 1 --------------------------
$kmxService = Get-TrustAuthorityKeyProviderService -Server trustAuthoritySystem Add-KeyProviderServiceInfo -KeyProviderService $kmxService -Server workloadSystem
Adds the key provider service information to the workload vCenter Server system by specifying the TrustAuthorityKeyProviderService objects that you want to retrieve from the Trust Authority system.
-------------------------- Example 2 --------------------------
$kmxService = Get-TrustAuthorityKeyProviderService -Server trustAuthoritySystem | select -First 1 Add-AttestationServiceInfo -ServiceAddress $kmxService.ServiceAddress -ServiceGroup $kmxService.ServiceGroup -TAClusterId $kmxService.TrustAuthorityClusterId -TrustedCA $kmxService.TrustedCA -ServicePort $kmxService.ServicePort -Server workloadSystem
Adds the key provider service information to the workload vCenter Server system by specifying detailed information of the Trust Authority key provider service that runs in the Trust Authority system.