GET Security Claims

The GET /Security/Claims operation returns the list of security claims configured in Keyfactor Command. Query parameters support filtering using defined criteria, control over pagination by specifying the page number and return limit, and customization of sorting based on specified fields and order. On success, the operation returns HTTP 200 OK with  the details of the security claims.

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

/security/read/

Table 748: GET Security Claims Input Parameters

Name In Description
QueryString Query

A string containing a query to limit the results (for example, field1 -eq value1 AND field2 -gt value2). The default is to return all records. Fields available for querying through the API for the most part match those that appear in the Keyfactor Command Management Portal search dropdowns for the same feature. For querying guidelines, refer to: Searching Security Claims. The query fields supported for this operation are:

  • ADClaimValue
  • ClaimType
  • ClaimValue
  • Description
PageReturned Query An integer that specifies how many multiples of the returnLimit to skip and offset by before returning results, to enable paging. The default is 1.
ReturnLimit Query An integer that specifies how many results to return per page. The default is 50. Very large values can result in long processing time.
SortField Query

A string containing the property by which the results should be sorted. Fields available for sorting through the API include:

  • ClaimType

  • ClaimValue

  • Description

  • Provider

Available sort fields are affected by the query provided in QueryString. The default sort field is Provider.

SortAscending Query An integer that sets the sort order on the returned results. A value of 0 sorts results in ascending order while a value of 1 sorts results in descending order. The default is ascending.

Table 749: GET Security Claims Response Data

Name Description
Id An integer containing the Keyfactor Command reference ID for the security claim.
Description A string indicating a description for the security claim.
Claim Type

A string indicating the type of claim. ClosedShow claim type details.

Claim Value A string containing the identifying information for the entity specified in the claim. For implementations authenticated using Active Directory, this will be in NetBIOS format (DOMAIN\account-name). For example, group KEYEXAMPLE\PKI Administrators or for a computer, machine account KEYEXAMPLE\MyServer$. For implementations authenticated using OAuth, this will be in the format defined by the Name Claim Type.
Provider

An object containing information about the provider assigned to the security claim. ClosedShow authentication provider details.