Managing Multiple Identity Providers via API Endpoints

The 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 for the Identity Providers component of the AnyCAGateway REST include methods necessary to programmatically add, edit and retrieve identity providers within the application. These may be accessed via an API platform tool. For security, clientsecret values will either not be returned in the responses, or they will be masked.

Newly created identity providers can be used for authentication after approximately 60 seconds. Identity providers that are updated will be updated in the authentication after approximately 60 seconds.

Tip:  For identity provider logging in the AnyCA Gateway log files, log messages will require either the DEBUG or TRACE log levels. In the event that there is an error when adding/updating an Identity provider, the log will log a WARN message indicating there was an issue.

Table 965: Identity Providers Endpoints

Endpoint Method Description Link
/{id} GET Returns the identity provider with the specified ID. GET Identity Providers ID
/{id} PUT Updates the identity provider with the specified ID. PUT Identity Providers ID
/ GET Returns all identity providers defined within AnyCAGateway REST with filtering and output options. GET Identity Providers
/ POST Add the identity provider to AnyCAGateway REST. POST Identity Providers
/Types GET Returns details for all the identities provider types defined within AnyCAGateway REST. GET Identity Providers Types