GET Identity Providers

The GET /Identity/Providers operation returns the list of security identity providers 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 identity providers.

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

/identity_providers/read/

Table 563: GET Identity Providers 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 Identity Providers. The query fields supported for this operation 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 include:

  • AuthenticationEnabled

  • AuthenticationScheme

  • DisplayName

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

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 564: GET Identity Provider Response Data

Name

Description

Authentication Enabled A Boolean indicating whether the identity provider is enabled (True or 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 565: Identity Provider Parameters) contains the data shown in Table 566: 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 Keycloak)

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