GET Security My Permissions

The GET /Security/My/Permissions operation lists permissions configured in Keyfactor Command for the current user across all roles. There are no input parameters for this operation 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 746: 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.