GET Templates Settings

The GET /Templates/Settings method is used to retrieve the global templateClosed A certificate template defines the policies and rules that a CA uses when a request for a certificate is received. policy settings Keyfactor Command. This method returns HTTP 200 OK on a success with details about the global template policy settings. This method has no input parameters other than the standard headers (see Endpoint Common Features).

Important:  This endpointClosed An endpoint is a URL that enables the API to gain access to resources on a server. has been deprecated. It is retained for backwards compatibility, but all new development should use the GET /EnrollmentPatterns/Settings endpoint (see GET Enrollment Patterns Settings).
Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/certificate_templates/read/

Table 874: GET Templates Settings Response Data

Name Description
Template Regexes

An array of objects containing the system-wide template regular expression settings. These apply to all enrollments that are not otherwise overridden by individual template settings, including those that do not use a template (e.g. from a standalone CA). ClosedShow template regular expression details.

Template Defaults

An array of objects containing the system-wide template default settings. These apply to all enrollments that are not otherwise overridden by individual template settings, including those that do not use a template (e.g. from a standalone CA). ClosedShow template default details.

Note:  See also the Subject Format application setting, which takes precedence over enrollment defaults at both the system-wide and template level (see Application Settings: Enrollment Tab in the Keyfactor Command Reference Guide) but does not apply to enrollment requests done through the Keyfactor API.
Template Policy

An object containing the system-wide template policy settings. These apply to all enrollments that are not otherwise overridden by individual template settings, including those that do not use a template (e.g. from a standalone CA). ClosedShow template policy 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.