GET Security Identities
The GET /Security/Identities method is used to return the list of security identities configured in Keyfactor Command. This method returns HTTP 200 OK on a success with the details of the security identities.
Table 570: GET Security Identities Input Parameters
Name | In | 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. |
SortField | Query |
A string containing the property by which the results should be sorted. Fields available for sorting through the API for the most part match those that appear as sortable columns in the Keyfactor Command Management Portal. The default sort field is Id. IdentityType may be used as a sort order. |
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. |
Validate | Query |
A Boolean that specifies whether the optional parameter of validate is false, which allows the AuditXML validation to be skipped when loading records, or true (or not specified) in which case validation will occur. The default is true. |
Table 571: GET Security Identities Response Data
Name | Description | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Id | An integer containing the Keyfactor Command reference ID for the security identity. | |||||||||||||||||||||||||||||||||
AccountName | A string containing the account name for the security identity. For Active Directory users and groups, this will be in the form DOMAIN\\user or group name. For example: KEYEXAMPLE\\PKI Administrators |
|||||||||||||||||||||||||||||||||
IdentityType | A string indicating the type of identity—User or Group. | |||||||||||||||||||||||||||||||||
Roles |
An array of objects containing information about the security roles assigned to the security identity. Show role details.
|
|||||||||||||||||||||||||||||||||
Valid | A Boolean indicating whether the security identity's audit XML is valid (true) or not (false). A security identity may become invalid if Keyfactor Command determines that it appears to have been tampered with. |