POST Identity Providers

The POST /Identity/Providers method is used to add an identity provider in Keyfactor Command. This method returns HTTP 200 OK on a success with the details of the identity provider.

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

/identity_providers/modify/

Table 461: POST Identity Providers Input Parameters

Name In Description
Authentication Scheme Body Required. A string indicating the authentication scheme (name) for the identity provider. This must be a unique value among identity providers.
Display Name Body Required. A string indicating the display name for the identity provider. This must be a unique value among identity providers.
ProviderType Body

Required. A string indicating the Keyfactor Command provider type of the identity provider. Possible values are:

  • Generic—select this for Keyfactor Identity Provider

  • Auth0

PermissionSetId Body

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

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.
Parameters Body

Required. An object containing information for each parameter set for the identity provider. ClosedShow parameter details.

Table 463: POST Identity Providers Response Data

Name Description
Id A string containing the Keyfactor Command reference GUID for the identity provider.
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.
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)

PermissionSetId

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

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.
Parameters

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

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

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