GET PAM Providers

The GET /PamProviders operation returns a list of all the PAMClosed PAM (Privileged Access Management): Controls privileged access by vaulting credentials, enforcing least-privilege/just-in-time access, rotating secrets, and auditing sessions. Across Keyfactor products, PAM protects diverse sensitive operations and secrets—for example certificate stores and CA credentials—via built-in or third-party providers; external integrations are delivered as custom PAM extensions (several published on Keyfactor’s public GitHub). providers that have been 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  details about each PAM provider.

Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:
/pam/read/
OR
/pam/read/#/ (where # is a specific PAM provider ID)

Permissions for PAM providers can be set at the system-wide level or with fine-grained control at the PAM provider level. See PAM Permissions for more information about the differences between system-wide and more targeted permissions.

This operation has two available versions. Keyfactor recommends using the newer operation when possible. For more information, see Endpoint Definition Versioning.

Version 2 of GET /PamProviders has been redesigned to remove references to PAM associations with areas and containers.

Table 641: GET PamProviders v2 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. For querying guidelines, refer to: Using the Management Portal. The query fields supported for this operation are:

  • Area
  • Name
  • ProviderType
  • SecuredAreaId

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:

  • Area
  • Id
  • Name
  • ProviderType
  • Remote
  • SecuredAreaId

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

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 642: GET PamProviders v2 Response Data

Name

Description

Id An integer indicating the Keyfactor Command reference ID for the PAM provider. This ID is automatically set by Keyfactor Command.
Name

A string indicating the name of the PAM provider. This name is used to identify the PAM provider throughout Keyfactor Command.

Provider Type

An object containing details about the provider type for the provider. ClosedShow provider type details.

Provider Type Param Values

An array of objects containing the values for the provider types specified by ProviderTypeParam. This field contains values only if the Remote parameter is set to False. ClosedShow provider type parameter value details.

Remote A Boolean indicating whether the PAM provider is local to the Keyfactor Command server (False) or local to the orchestrator (True). The default is False.

Version 1 of GET /PamProviders includes the same capabilities as version 2 except it includes references to the deprecated parameters related to the area of Keyfactor Command to which the PAM provider applies.

Table 643: GET PamProviders v1 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. For querying guidelines, refer to: Using Search in the Management Portal. The query fields supported for this operation are:

  • Area
  • Name
  • ProviderType
  • SecuredAreaId
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:

  • Area
  • Id
  • Name
  • ProviderType
  • Remote
  • SecuredAreaId

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

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 644: GET PamProviders v1 Response Data

Name

Description

Id An integer indicating the Keyfactor Command reference ID for the PAM provider. This ID is automatically set by Keyfactor Command.
Name

A string indicating the name of the PAM provider. This name is used to identify the PAM provider throughout Keyfactor Command.

Area

An integer indicating the area of Keyfactor Command the provider is used for.

This is considered deprecated and may be removed in a future release.

Provider Type

An object containing details about the provider type for the provider. ClosedShow provider type details.

Provider Type Param Values

An array of objects containing the values for the provider types specified by ProviderTypeParam. This field contains values only if the Remote parameter is set to False. ClosedShow provider type parameter value details.

Remote A Boolean indicating whether the PAM provider is local to the Keyfactor Command server (False) or local to the orchestrator (True). The default is False.
Secure Area Id

An integer indicating the Keyfactor Command reference ID for the certificate store container the PAM provider is associated with, if any.

This is considered deprecated and may be removed in a future release.