POST Permission Sets

The POST /PermissionSets method is used to create a new permission set in Keyfactor Command (see Permission Sets). This method returns HTTP 200 OK on a success with the details of the new permission set.

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

/security/modify/

The user must hold a role containing this permission in the Global Permission Set (see Permission Sets).

Table 528: POST Permission Sets Input Parameters

Name

In

Description
Name Body Required. A string indicating the short name for the permission set.
Permissions Body

Required. An array of strings containing the permissions assigned to the permission set. See Version Two Permission Model for an overview of the possible permissions.

For example:

Copy
"Permissions": [
   "/agents/",
   "/certificate_stores/",
   "/certificates/",
   "/certificate_authorities/",
   "/certificate_templates/",
   "/dashboard/",
   "/metadata/",
   "/monitoring/",
   "/portal/"
   "/reports/",
   "/ssl/",
   "/workflows/",
]

Table 529: POST Permission Sets Response Data

Name Description
Id A string containing the Keyfactor Command reference GUID for the permission set.
Permissions

An array of strings containing the permissions assigned to the permission set. See Version Two Permission Model for an overview of the possible permissions.

Tip:  See the Keyfactor API Reference and Utility which provides a utility through which the Keyfactor APIClosed 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 the context of Keyfactor Command, it refers to the workflow builder, which allows you automate event-driven tasks when a certificate is requested or revoked. 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.