> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/pam/pam-with-devolutions-server/providers/custom-pam-providers.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Custom PAM providers

Custom PAM providers extend Devolutions PAM to unsupported identity systems using PowerShell scripts for discovery, heartbeat, and password rotation.

Devolutions PAM offers a variety of managed providers, but it is not feasible to support every identity provider. This is where custom PAM providers (formerly *AnyIdentity providers*) become essential.

{% embed url="<https://youtu.be/hsLuhLJjCaM?si=g6K14cfqZ5Fxga1f>" %}

Custom PAM providers are an extension of managed providers, designed to bridge the gap between the identity providers natively supported by the Devolutions PAM module through managed providers and the numerous other identity providers that Devolutions customers may be using.

A custom PAM provider can support various identity providers not natively supported by Devolutions PAM, such as:

* **Cloud-based identity providers**: Providers like Okta or Google Workspace, which manage access to cloud applications and services.
* **Custom applications**: Any in-house system your organization has developed that maintains its own user database and authentication mechanisms.
* **Legacy systems**: Older applications or databases that may not easily integrate with modern identity management solutions.

Custom PAM providers utilize various actions, written in PowerShell as action scripts, which are executed either on-demand or on a scheduled basis via account discovery configurations. These actions include discovering identity provider credentials, detecting credential changes, and rotating passwords for credentials.

* **Account discovery**: Enumerates credentials on an identity provider.
* **Heartbeat**: Detects whether a credential has changed since the last heartbeat.
* **Password rotation**: Changes account passwords to a new, secure password

If you are proficient in PowerShell, you can [create custom PAM providers](https://docs.devolutions.net/pam/pam-with-devolutions-server/getting-started/custom-pam-providers/create-a-custom-pam-provider-in-devolutions-server.md) or utilize any of the [pre-built templates](https://github.com/Devolutions/PAM-Providers).

## Built-in templates

Devolutions Server includes three templates that only rotate passwords. They are not listed on the ***Provider templates*** page: when adding a provider, they are under ***Password reset only*** in the ***Add new PAM provider*** dialog. Their scripts are written in PowerShell.

<table><thead><tr><th width="180">TEMPLATE</th><th>PROVIDER PROPERTIES</th><th>ACCOUNT PROPERTIES</th></tr></thead><tbody><tr><td><em><strong>MySQL User</strong></em></td><td>Host name, port, username and password of the administrative account.</td><td>Username, password.</td></tr><tr><td><em><strong>Oracle User</strong></em></td><td>Host name, service name, port, username and password of the administrative account.</td><td>Username, password.</td></tr><tr><td><em><strong>Cisco user</strong></em></td><td>Host name, port and password of the administrative account. No username.</td><td>Username, password. The current account password is also passed to the script.</td></tr></tbody></table>

## Templates on GitHub

The public [Devolutions/PAM-Providers](https://github.com/Devolutions/PAM-Providers) repository holds templates written by Devolutions. The list below comes from its default branch, `master` (checked on 2026-12-02). The ***GitHub*** button of the ***Provider templates*** page opens this repository.

<table><thead><tr><th width="220">TEMPLATE (FOLDER)</th><th>ACTIONS</th><th>PAGE</th></tr></thead><tbody><tr><td>Azure Key Vault (<code>Providers/Azure Key Vault</code>)</td><td>Account discovery, heartbeat, password rotation.</td><td><a href="https://docs.devolutions.net/pam/pam-with-devolutions-server/providers/custom-pam-providers/azure-key-vault-secret.md">Azure Key Vault secret</a></td></tr><tr><td>Microsoft SQL Server Login (<code>Providers/sql_server_login</code>)</td><td>Account discovery, heartbeat, password rotation.</td><td><a href="https://docs.devolutions.net/pam/pam-with-devolutions-server/providers/custom-pam-providers/sql-server-login.md">SQL Server login</a></td></tr><tr><td>Windows Local Accounts (<code>Providers/Windows Accounts</code>)</td><td>Account discovery, heartbeat, password rotation.</td><td><a href="https://docs.devolutions.net/pam/pam-with-devolutions-server/providers/custom-pam-providers/windows-local-accounts.md">Windows local accounts</a></td></tr></tbody></table>

The same repository holds the password propagation templates. See [Password propagation scripts](https://docs.devolutions.net/pam/pam-with-devolutions-server/password-propagation-scripts.md#templates-on-github).

## Where the action scripts run

Devolutions Server runs every action script in PowerShell, according to the ***PowerShell settings*** tab of the provider.

<table><thead><tr><th width="260">PROVIDER SETTINGS</th><th>WHERE THE SCRIPT RUNS</th></tr></thead><tbody><tr><td>No <em><strong>Hostname</strong></em> and no credentials</td><td>On the Devolutions Server machine, under the account of the Devolutions Server service.</td></tr><tr><td>Credentials and no <em><strong>Hostname</strong></em></td><td>On the Devolutions Server machine, through PowerShell remoting, under the account entered.</td></tr><tr><td><em><strong>Hostname</strong></em></td><td>On that host, through PowerShell remoting (WinRM). Port 5985 is used for <code>http</code> and 5986 for <code>https</code> when the URI has no port.</td></tr><tr><td><em><strong>Use Devolutions Gateway</strong></em></td><td>On the host, reached through the selected Devolutions Gateway, with the new WinRM client.</td></tr></tbody></table>

Settings are described in [Create a custom PAM provider from a template](https://docs.devolutions.net/pam/pam-with-devolutions-server/getting-started/custom-pam-providers/create-a-custom-pam-provider-from-a-template.md#powershell-settings). The parameters and outputs the scripts must follow are described in [Custom PAM provider action scripts in Devolutions Server](https://docs.devolutions.net/pam/knowledge-base/knowledge-base-articles/custom-pam-provider-action-scripts-in-devolutions-server.md).

#### See also

* [YouTube - Devolutions PAM playlist](https://www.youtube.com/watch?v=hsLuhLJjCaM\&list=PLfidkb9pPIfJDEMOn1wK2a8MsFdE-EZPX)
* [Devolutions Academy - Configuring a custom PAM provider](https://academy.devolutions.net/student/path/2354099/activity/3423448)
* Devolutions Blog:
  * [Inside the custom PAM provider workflow: account discovery](https://blog.devolutions.net/2024/10/inside-the-anyidentity-workflow-account-discovery/)
  * [Inside the custom PAM provider workflow: heartbeat](https://blog.devolutions.net/2024/10/inside-the-anyidentity-workflow-heartbeat/)
  * [Inside the custom PAM provider workflow: password rotation](https://blog.devolutions.net/2024/10/inside-anyidentity-workflow-password-rotation/)
  * [Inside the custom PAM provider workflow: password propagation](https://blog.devolutions.net/2024/10/inside-the-anyidentity-workflow-password-propagation/)
  * [Decoding custom PAM providers: customizable identity management for the modern enterprise](https://blog.devolutions.net/2024/10/decoding-anyidentity-customizable-identity-management-for-the-modern-enterprise/)
  * [Spotlight on remote PAM with custom PAM providers and Devolutions Gateway](https://blog.devolutions.net/2024/11/inside-20243-secure-remote-pam-with-anyidentity-and-devolutions-gateway/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/pam/pam-with-devolutions-server/providers/custom-pam-providers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
