addAgentServerPin

Add public key pin for a server host to an agent

This command requests the agent add a public key pin for a server host, but does not wait for or report the result. The returned maintenance task can be used to query the result.

Format

udclient [global-args...] [global-flags...]
  addAgentServerPin [parameters]

Parameters

Table 1. Parameters
Parameter Type Required Description
agent string true Name or ID of the agent
host string true The host name, as it is known by the agent, that will receive the public key pin
alias string true A keypair alias in the server keystore file that holds the target public key
allowUnknownHost boolean false If true, allow setting a pin for a host not currently known to the agent (optional)

Related REST command: Add public key pin for a server host to an agent.