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.
Request
POST https://{hostname}:{port}
/cli/agentCLI/addServerPin?{parameters}
Accept: {contentType}
| 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) |
| Parameter | Type | Required | Description |
|---|---|---|---|
| Accept |
|
true |
Related CLI command: addAgentServerPin.