Add-TrustAuthorityKeyProviderServer

This cmdlet adds a new Trust Authority key provider server to an existing Trust Authority key provider in the Trust Authority system.

Syntax

[-Address]  <String>
-KeyProvider  <TrustAuthorityKeyProvider>
[-Name  <String>]
[-Port  <Int32>]
[-Server  <VIServer[]>]
[-TrustAuthorityCluster  <TrustAuthorityCluster>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Address
String 1 Specifies the address of the key provider server that you want to add.
required
KeyProvider
TrustAuthorityKeyProvider named
  • pipeline
  • Specifies the Trust Authority key provider to which you want to add a new Trust Authority key provider Server.
    optional
    Name
    String named Specifies the name of the new Trust Authority key provider server. If it's not specified, the name is the same as the Address parameter.
    optional
    Port
    Int32 named Specifies the number of the port that the Trust Authority key provider server uses to communicate with the Trust Authority key provider.
    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.
    optional
    TrustAuthorityCluster
    TrustAuthorityCluster named Specifies the Trust Authority cluster where the Trust Authority key provider resides.

    Output

    VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TrustAuthorityKeyProviderServer

    Examples


    Example 1

    $kp = Get-TrustAuthorityKeyProvider -Name myProvider -TrustAuthorityCluster myCluster
    Add-TrustAuthorityKeyProviderServer -KeyProvider $kp -Address 1.1.1.1

    Adds a new Trust Authority key provider server with address 1.1.1.1 to the Trust Authority key provider named myProvider.

    Related Commands

    Feedback

    Was this page helpful?