POST Permission Sets

The POST /PermissionSets operation creates a new permission set in Keyfactor Command (see Permission Sets). On success, the operation returns HTTP 200 OK 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 668: 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 Security Structure 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 669: 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 Security Structure for an overview of the possible permissions.