Syntax
New-TrustAuthorityPrincipal [-TrustAuthorityCluster] <TrustAuthorityCluster> [-Name] <String> -CertificateChain <X509Chain[]> [-Confirm] -Domain <String> -Issuer <String> [-Server <VIServer[]>] [-Type {STS_USER | STS_GROUP}] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet creates a new Trust Authority principal in the specified Trust Authority cluster in the Trust Authority vCenter Server system.Parameters
Return Type
VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TrustAuthorityPrincipalNotes
Examples
-------------------------- Example 1 --------------------------
$trustedPrincipal = Get-TrustedPrincipal -Server workloadSystem New-TrustAuthorityPrincipal -TrustAuthorityCluster mycluster -TrustedPrincipal $trustedPrincipal -Server trustAuthoritySystem
Creates the Trust Authority principal in the Trust Authority cluster mycluster from the trusted principal object $trustedPrincipal. You can retrieve the trusted principal object from the connected workload vCenter Server system workloadSystem.
-------------------------- Example 2 --------------------------
Export-TrustedPrincipal -Server workloadSystem -FilePath c:\mypath New-TrustAuthorityPrincipal -TrustAuthorityCluster mycluster -FilePath c:\mypath -Server trustAuthoritySystem
Exports the trusted principal object from the connected workload vCenter Server system workloadSystem to the c:\mypath file. Creates the Trust Authority principal in the Trust Authority cluster mycluster from the c:\mypath file.
-------------------------- Example 3 --------------------------
$trustedPrincipal = Get-TrustedPrincipal -Server workloadSystem New-TrustAuthorityPrincipal -TrustAuthorityCluster mycluster -Name $trustedPrincipal.Name -Domain $trustedPrincipal.Domain -Issuer $trustedPrincipal.Issuer -CertificateChain $trustedPrincipal.CertificateChain -Type $trustedPrincipal.Type -Server trustAuthoritySystem
Creates a Trust Authority principal in the Trust Authority cluster mycluster from each property of the trusted principal object. You can retrieve the Trusted principal object from the connected workload vCenter Server system workloadSystem.