New-TrustAuthorityPrincipal
This cmdlet creates a new Trust Authority principal in the specified Trust Authority cluster in the Trust Authority vCenter Server system.
Syntax
-TrustAuthorityCluster <TrustAuthorityCluster>
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
TrustedPrincipal | 1 |
|
Specifies the trusted principal in the workload vCenter Server system to create a Trust Authority principal. | required |
|
TrustAuthorityCluster | named |
|
Specifies the Trust Authority cluster in which you want to create the Trust Authority principal. | optional |
|
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. |
-CertificateChain <X509Chain[]>
-Domain <String>
-Issuer <String>
-TrustAuthorityCluster <TrustAuthorityCluster>
[-Server <VIServer[]>]
[-Type <PrincipalType>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String | 1 |
|
Specifies the name of the trusted principal in the workload vCenter Server system to create a Trust Authority principal. | required |
|
X509Chain[] | named |
|
Specifies the certificate chain of the trusted principal in the workload vCenter Server system to create a Trust Authority principal. | required |
|
String | named |
|
Specifies the domain of the trusted principal in the workload vCenter Server system to create a Trust Authority principal. | required |
|
String | named |
|
Specifies the issuer of the trusted principal in the workload vCenter Server system to create a Trust Authority principal. | required |
|
TrustAuthorityCluster | named |
|
Specifies the Trust Authority cluster in which you want to create the Trust Authority principal. | optional |
|
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. | optional |
|
PrincipalType | named |
|
Specifies the type of the trusted principal in the workload vCenter Server system to create a Trust Authority principal. |
-TrustAuthorityCluster <TrustAuthorityCluster>
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String | named |
|
Specifies the file including the trusted principal in the workload vCenter Server system to create the Trust Authority principal. | required |
|
TrustAuthorityCluster | named |
|
Specifies the Trust Authority cluster in which you want to create the Trust Authority principal. | optional |
|
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
VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TrustAuthorityPrincipal
Examples
Example 1
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
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
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.
Related Commands
TrustAuthorityAttestationService
TrustAuthorityCluster
TrustAuthorityKeyProvider
TrustAuthorityKeyProviderClientCertificate
TrustAuthorityKeyProviderClientCertificateCSR
TrustAuthorityKeyProviderServer
TrustAuthorityKeyProviderServerCertificate
TrustAuthorityKeyProviderService
TrustAuthorityPrincipal
TrustAuthorityServicesInfo
TrustAuthorityServicesStatus
TrustAuthorityTpm2AttestationSettings
TrustAuthorityTpm2CACertificate
TrustAuthorityTpm2EndorsementKey