> 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/concepts/action-script.md).

# Action script

An **action script** is how a custom PAM provider implements its actions in Devolutions PAM. These scripts are user-defined PowerShell files that perform tasks such as password discovery, comparison, and rotation. When a [password rotation](https://docs.devolutions.net/pam/concepts/password-rotation/) is triggered, Devolutions PAM acts as a coordinator and executes the corresponding action script to complete the task.

While managed providers have their actions natively developed and fully integrated within Devolutions PAM, custom PAM providers give organizations the flexibility to integrate with virtually any system that supports script-based interactions. This allows secure automation of privileged account management without waiting for native support.

Action scripts are only available during the creation of [custom PAM provider templates](https://docs.devolutions.net/pam/concepts/anyidentity-template/). Once created, action scripts are no longer visible when managing custom PAM providers.

#### Related topics

* [Custom PAM providers (Devolutions Server)](https://docs.devolutions.net/pam/server/providers/anyidentity-providers/)
* [Troubleshooting action scripts in (Devolutions Server)](https://docs.devolutions.net/pam/kb/troubleshooting-articles/troubleshooting-action-scripts/)

#### See also

* [Providers (Devolutions Server)](https://docs.devolutions.net/pam/server/providers/)
* [Managed providers (Devolutions Server)](https://docs.devolutions.net/pam/server/providers/managed-providers/)
* [Custom PAM providers (Devolutions Server)](https://docs.devolutions.net/pam/server/providers/anyidentity-providers/)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/pam/concepts/action-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
