POST PAM Providers Local ID Entries
The POST /PamProviders/Local/{providerId}/Entries method creates a new PAM secret for the requested local PAM provider ID. This method returns HTTP 200 OK on a success with details for the secret (not including the actual secret).
Before creating secret entries with this endpoint An endpoint is a URL that enables the API to gain access to resources on a server., you must first create a PAM provider of type LocalDB (see Adding or Modifying a PAM Provider or POST PAM Providers).
Permissions for PAM providers and certificate stores can be set at either the global or PAM provider level. See PAM Permissions for more information about global vs PAM provider permissions.
Table 547: POST PamProviders Local {providerId} Entries Input Parameters
Name | In | Description |
---|---|---|
ProviderId | Path | Required. An integer containing the Keyfactor Command reference ID for the PAM provider associated with the secret. Use the GET /PamProviders method (see GET PAM Providers) to retrieve a list of all the PAM providers to determine the PAM provider's ID. |
SecretName | Body | Required. A string containing the Keyfactor Command reference name for the PAM secret. |
Description | Body | A string containing a description for the PAM secret. |
SecretValue | Body | Required. A string containing the secret data for the PAM secret. This data is not returned in responses or GET requests. |
Table 548: POST PamProviders Local {providerId} Entries Response Data
Name | Description |
---|---|
ProviderId | An integer containing the Keyfactor Command reference ID for the PAM provider associated with the secret. |
SecretName | A string containing the Keyfactor Command reference name for the PAM secret. |
Description | A string containing a description for the PAM secret. |