GET Enrollment Patterns ID Metadata

The GET /EnrollmentPatterns/{id}/MetadataClosed Metadata provides information about a piece of data. It is used to summarize basic information about data, which can make working with the data easier. In Keyfactor Command, the certificate metadata feature allows you to create custom metadata fields that allow you to tag certificates with tracking information about certificates. method retrieves the metadata values for a specified 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). pattern. These settings are determined by combining system-wide metadata defaults with templateClosed A certificate template defines the policies and rules that a CA uses when a request for a certificate is received.-level default values and values configured for the specified enrollment pattern. This method returns HTTP 200 OK on a success with details of the derived metadata default values. The response is determined as follows:

  • Enrollment pattern metadata default exists: The enrollment pattern value is returned in the response.

  • Template-level metadata default exists and enrollment pattern value is unset: The template-level default value is returned in the response.

  • Neither template nor enrollment pattern has a default value defined: The corresponding system-wide default value, if defined, is returned in the response.

Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/certificates/enrollment/csr/ or
/certificates/enrollment/pfx/

Table 485: GET Enrollment Patterns {id} Metadata Input Parameters

Name Description
id

An integer indicating the Keyfactor Command reference ID for the enrollment pattern.

Use the GET /EnrollmentPatterns method (see GET Enrollment Patterns) to retrieve a list of all the enrollment patterns to determine the enrollment pattern ID.

Table 486: GET Enrollment Patterns {id} Metadata Response Data

Name Description
n/a

An array of objects containing the metadata values resolved for the enrollment pattern. ClosedShow metadata details.

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.