POST Security Applications ID Roles

The POST /Security/Applications/{id}/Roles operation assigns permissions for a security role to a certificate store application. On success, the operation returns HTTP 200 OK with  the details of the security role and permissions.

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 728: POST Security Applications {id} Roles Input Parameters

Name

In

Description
id Path

Required. An integer indicating the Keyfactor Command reference ID of the certificate store application to update.

Use the GET Applications operation to determine the ID of the certificate store application.

SecurityRoleId Body

Required. An integer indicating the Keyfactor Command reference ID of the security role granted permissions to the certificate store application.

Use the GET Security Roles operation to determine the ID of the security role.

Permissions Body

Required. A comma-delimited array of strings indicating the permissions granted to the role for the certificate store application. See Certificate Stores for an overview of the possible permissions.

For example:

Copy
"Permissions": [
   "Read",
   "Modify"
]

Table 729: POST Security Applications {id} Roles Response Data

Name Description
SecurityRoleId

An integer indicating the Keyfactor Command reference ID of the security role granted permissions to the certificate store application.

Name A string containing the short reference name for the security role granted permissions to the certificate store application.
Permissions

A comma-delimited array of strings indicating the permissions granted to the role for the certificate store application. See Certificate Stores for an overview of the possible permissions.