GET Security My Permissions

The GET /Security/My/Permissions method is used to list permissions configured in Keyfactor Command for the current user across all roles. This method has no input parameters other than the standard headers (see Endpoint Common Features).

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

None (requires that the user is authenticated)

Table 685: GET Permissions Response Data

Name Description
Permissions

An array of strings listing the permissions for the current user, gathered from all the user’s roles, in alphabetical order without duplicates.

For example:

Copy
{
    "Permissions": [
        "/certificates/collections/modify/",
        "/certificates/collections/read/",
        "/certificates/enrollment/",
        "/certificates/expanded_change_owner/",
        "/certificate_stores/read/",
        "/certificate_stores/schedule/",
        "/dashboard/",
        "/enrollment_pattern/read/",
        "/metadata/types/read/",
        "/pam/read/",
        "/portal/",
        "/reports/read/",
        "/workflows/instances/read/"
    ]
}
Note:  If the user has both system-wide and granular permissions to a particular area, only the system-wide permissions are returned. For example, if the user has /certificates/collections/read/ (system-wide permissions) and /certificates/collections/read/4/ (permissions on collection 4), only /certificates/collections/read/ is returned.
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.