PUT Templates Settings
The PUT /Templates/Settings method is used to create or update the global template A certificate template defines the policies and rules that a CA uses when a request for a certificate is received. policy settings in Keyfactor Command. This method returns HTTP 200 OK on a success with details about the template policy settings.

Table 782: PUT Templates Settings Input Parameters
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).
For example: Copy
|
||||||||
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). For example: Copy
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). For example: Copy
|
Table 783: PUT 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).
For example: Copy
|
||||||||
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). For example: Copy
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). For example: Copy
|


