GET Agents ID

The GET /Agents/{id} method is used to retrieve a single orchestratorClosed Keyfactor orchestrators perform a variety of functions, including managing certificate stores and SSH key stores. or agent registered in Keyfactor Command. This method returns HTTP 200 OK on a success with a list of all orchestrator details.

Note:  The Keyfactor Mac Auto-Enroll Agent was deprecated as of Keyfactor Command version 11. Any Mac Auto-EnrollmentClosed Certificate enrollment refers to the process by which a user requests a digital certificate. The user must submit the request to a certificate authority (CA). tools and configurations in the product should not be used.
Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/agents/management/read/

Table 151: GET Agents{id} Input Parameters

Name In Description
id Path Required. The GUID of the orchestrator to retrieve.

Use the GET /Agents method (see GET Agents) to retrieve a list of all the orchestrators to determine the orchestrator GUID.

Table 152: GET Agent {id} Response Data

Name Description
AgentId A string indicating the GUID of the orchestrator.
ClientMachine A string indicating the client machine on which the orchestrator is installed.
Username A string indicating the Active Directory user or service account the orchestrator is using to connect to Keyfactor Command.
AgentPlatform

An integer indicating the platform for the orchestrator. ClosedShow agent platform values.

Version A string indicating the version of the orchestrator.
Status

An integer indicating the orchestrator status. ClosedShow status values.

LastSeen The time, in UTC, at which the orchestrator last contacted Keyfactor Command.
Capabilities

An array of strings indicating the capabilities reported by the orchestrator. These may be built-in or custom capabilities. ClosedShow built-in capability values for common orchestrators.

Blueprint

A string indicating the name of the blueprint associated with the orchestrator.

Thumbprint A string indicating the thumbprint of the certificate that Keyfactor Command is expecting the orchestrator to use for client certificate authentication.
LegacyThumbprint A string indicating the thumbprint of the certificate previously used by the orchestrator for client certificate authentication before a certificate renewal operation took place (rotating the current thumbprint into the legacy thumbprint). The legacy thumbprint is cleared once the orchestrator successfully registers with the new thumbprint.
AuthCertificateReenrollment

An integer indicating the value of the orchestrator certificate reenrollment request or require status. ClosedShow values.

LastThumbprintUsed A string indicating the thumbprint of the certificate that the orchestrator most recently used for client certificate authentication. In most cases, this will match the Thumbprint.
LastErrorCode An integer indicating the last error code, if any, reported from the orchestrator when trying to register a session. This code is cleared on successful session registration.
LastErrorMessage A string indicating the last error message, if any, reported from the orchestrator when trying to register a session. This message is cleared on successful session registration.
JobTypes

An array of objects indicating the job types correlated with the orchestrator.ClosedShow job type values.

Name Description
Name

A string indicating the name of the job type, made up of a combination of the capability (e.g. Windows Certificate) and the job type (e.g. Management).

CertStoreTypeShortName

A string indicating the short name defined in the certificate store type for the certificate store associated with the job type.

CertStoreJobType

A string indicating the job type. Supported values are:

  • Inventory: Determine what is in the certificate store(s) and report the contents to Keyfactor Command. This capability is required for all store types.
  • Add: Add new certificates to a certificate store.
  • Remove: Remove certificates from a certificate store.
  • Create: Create a new certificate store.
  • Discovery: Determine what certificate stores of this type are on the device.
  • Reenrollment: Generate a keypair on the device and submit a certificate signing request using on-device key generation (ODKG).
JobTypeId A string indicating the Keyfactor Command ID of the job type.
Tip:  See the Keyfactor API Reference and Utility which provides a utility through which the Keyfactor APIClosed An API is a set of functions to allow creation of applications. Keyfactor offers the Keyfactor API, which allows third-party software to integrate with the advanced certificate enrollment and management features of Keyfactor Command. endpoints can be called and results returned. It is intended to be used primarily for validation, testing and workflowClosed A workflow is a series of steps necessary to complete a process. In Keyfactor Command, it refers to the workflow builder, which allows you to automate event-driven tasks such as when a certificate is requested, revoked or found in a certificate store. development. It also serves secondarily as documentation for the API. The link to the Keyfactor API Reference and Utility is in the dropdown from the help icon () at the top of the Management Portal page next to the Log Out button.