bulkAddAgentServerPin

Add public key pins for server hosts to an agents in bulk

This command requests a set of agent add a public key pin for a server host, but does not wait for or report the results. The returned maintenance tasks can be used to query the result. Individual sub-requests may succeed or fail independently. A single request may contain up to 250 sub-requests.

Format

udclient [global-args...] [global-flags...]
  bulkAddAgentServerPin [JSON file]

Parameters

None.

Template

This command takes a JSON request string or file. Use the following template for the request:
{
  "README": "See entity attribute for the template 
  description expected by this endpoint.",
  "entity": [{
    "agent": "Name or ID of an agent",
    "alias": "A keypair alias in the server keystore file 
  that holds the target public key",
    "allowUnknownHost": "If true, allow setting a pin for 
  a host not currently known to the agent (optional)",
    "host": "The host name, as it is known by the agent, 
  that will receive the public key pin"
  }]
}

Related REST command: Add public key pins for server hosts to an agents in bulk.