GET Security My

The GET /Security/My method is used to return the list of security roles and permissions configured in Keyfactor Command for the current user. This method returns HTTP 200 OK on a success with the details of the security roles and permissions. 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

Table 580: GET Security My Roles Response Data

Name Description
Roles

An array of strings indicating the roles that the user holds.

GlobalPermissions

An array of objects containing the permissions granted to the user. See Version One Permission Model for an overview of the possible permissions.

For example:

Copy
"GlobalPermissions": [
   {
      "Area": "AdminPortal",
      "Permission": "Read"
   },
   {
      "Area": "Dashboard",
      "Permission": "Read"
   }
],
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.