PUT Identity Providers ID

The PUT /Identity/Providers/{id} method is used to update 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/

Important:  Any previously populated fields that are not submitted with their full existing data using this method will be cleared of their existing data. When using this method, you should first do a GET to retrieve all the values for the record you want to update, enter corrected data into the field(s) you want to update, and then submit all the fields using PUT, including the fields that contain values but which you are not changing.

Table 464: PUT Identity Providers {id} Input Parameters

Name In Description
Id Path Required. A string containing the Keyfactor Command reference GUID for the identity provider.
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.
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.
Authentication Enabled Body A Boolean indicating whether the identity provider is enabled (true) or not (false). The default is true.
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.
Parameters Body

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

Table 466: PUT Identity Providers {id} 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)

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

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

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

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.