GET CSR Generation Pending

The GET /CSRGeneration/Pending method is used to return details for generated CSRs that have not yet been enrolled. This method returns HTTP 200 OK on a success with details of the pending CSRs with details.

Tip:  The following permissions (see Security Overview) are required to use this feature:

CertificateEnrollment: PendingCsr

Table 306: GET CSR Generation Pending 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.
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 307: GET CSR Generation Pending Response Data

Name Description
Id A unique integer for the CSR generated.
CSR A string containing the text of the CSR in PEM format.
RequestTime A string containing the date and time that the CSR was generated in UTC time.
Subject An array containing the subject of the certificate including the certificate subject information, the subject alternative names, the key length, and the hash algorithm.
Tip:  For code examples, see the Keyfactor API Endpoint Utility. To find the embedded web copy of this utility, click the help icon () at the top of the Keyfactor Command Management Portal page next to the Log Out button.