GET Identity Providers

The GET /Identity/Providers method is used to return the list of security identity providers configured in Keyfactor Command. Query parameters enable 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. This method returns HTTP 200 OK on a success with the details of the identity providers.

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

/identity_providers/read/
OR
/identity_providers/read/#/ (where # is a reference to a specific identity provider ID)

Permissions for identity providers can be set at either the global or identity provider level. See Identity Provider Permissions for more information about global vs identity provider permissions.

Table 518: GET Identity Providers Input Parameters

Name In Description
QueryString Query

A string containing a query to limit the results (e.g. 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: Using the Identity Provider Search Feature. The query fields supported for this endpoint are:

  • AuthenticationScheme
  • AuthorizationUrl
  • DisplayName
  • ProviderTypes
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 for the most part match those that appear as sortable columns in the Keyfactor Command Management Portal. 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 519: GET Identity Provider Response Data

Name Description
Authentication Enabled A Boolean indicating whether the identity provider is enabled (true) or not (false).
Note:  An identity provider cannot be disabled if the provider is used as the default identity provider for login or as the API client identity provider. Internally defined identity providers cannot be disabled. A disabled identity provider cannot be used to authenticate to Keyfactor Command.
Authentication Scheme A string indicating the authentication scheme (name) for the identity provider. This must be a unique value among identity providers.
Display Name A string indicating the display name for the identity provider. This must be a unique value among identity providers.
Id A string containing the Keyfactor Command reference GUID for the identity provider.
Parameters

An array of objects containing information for each parameter set for the identity provider. ClosedShow parameter details.

Each parameter (Table 520: Identity Provider Parameters) contains the data shown in Table 521: Identity Provider Response Parameter Structure.

PermissionSetId

A string indicating the Keyfactor Command reference ID of the permission set applied to the identity provider.

Note:  In order to view or edit an identity provider in the Keyfactor Command Management Portal or with the Keyfactor API, a user must be assigned a security role that has been granted the /identity_providers/read/ and /identity_providers/modify/ (for edits) permissions and that has the same permission set applied to it as has been applied to the identity provider.
TypeId

A string indicating the Keyfactor Command reference GUID for the type of identity provider. Possible values include:

  • DFB94650-E4EB-402A- B807-4F3CC91F712D (Active Directory)

  • F96B6464-11B7-4499- BEA7-B5AA6BA1571D (Generic—select this for Keyfactor Identity Provider)

  • 5AA04122-CD7C-48BA- AC11-F39E30AE8720 (Auth0)

Tip:  See the Keyfactor API Reference and Utility which provides a utility through which the Keyfactor APIClosed An API is 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 Keyfactor Command, it refers to the workflow builder, which allows you to automate event-driven tasks such as when a certificate is requested, revoked or found in a certificate store. 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.