Register-TrustServiceKey
Creates a new trusted Service Key
Syntax
Register-TrustServiceKey
-ServiceName <String>
[-InstanceId <String>]
-PublicKey <String>
[<CitrixCommonParameters>]
[<CommonParameters>]
Description
Creates a new trusted Service Key. If this is a Service Key with the ServiceName of "ConnectorProxy", it will also result in adding of the corresponding Edge Server.
Examples
EXAMPLE 1
Register DCCHN-Proxy.xd.local ConnectorProxy with the Trust Service using the specified Public Key
Register-TrustServiceKey -ServiceName ConnectorProxy -InstanceId DCCHN-Proxy.xd.local -PublicKey PFJTQUtleVZhbHVlPjxNb2R1bHVzPnU2b0lCaFR2NXl...
Parameters
-ServiceName
The Name of the Service being effected
| Type: | String |
| Position: | Named |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-PublicKey
The primary public key being registered.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Required: | True |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-InstanceId
The instance ID of the service. This is usually the FQDN of the machine the service is running on.
| Type: | String |
| Position: | Named |
| Default value: | $null |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
CitrixCommonParameters
This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
You cannot pipe input into this cmdlet.
Outputs
Citrix.Trust.Sdk.ServiceKey
The newly created Service Key.
Notes
This command should only be needed to register a ConnectorProxy that cannot do so using the installer and repair tool.