> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/jp/commander-cli/command-reference/plugins/automatic-execution.md).

# 自動実行

Commanderによる自動パスワードローテーション

{% hint style="warning" %}
KeeperPAMを使用したゼロトラストのパスワードローテーション機能もリリースされました。この新機能は、パスワードローテーションのほとんどの場面で推奨されます。詳細については以下をご参照ください。

* [KeeperPAMを使用したパスワードローテーション](/keeperpam/jp/privileged-access-manager/password-rotation.md)
* [コマンダー向けのKeeperPAMコマンド](/keeperpam/jp/commander-cli/command-reference/keeperpam-commands.md)
  {% endhint %}

カスタムコマンダー設定ファイルとコマンダープラグインを使って、パスワードのリセットを自動化できます。

**例:**

```
{                                                                               
    "user":"admin@company.com",
    "password":"somereallystrongpassword",
    "commands":["d", "r iaOXP1fnApRh5DbaRd7MWA"]
}
```

この例では、まずレコードをダウンロードして復号化し、次にレコードに設定されたプラグインを使ってパスワード (レコードUID `iaOXP1fnApRh5DbaRd7MWA`) をローテーションするようコマンダーに指示しています。レコードUIDを確認するには、コマンダーの対話型シェルで確認するか、KeeperウェブボルトまたはKeeperデスクトップアプリで確認できます (以下を参照)。

<figure><img src="https://762006384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJXOXEifAmpyvNVL1to%2Fuploads%2FPqATiBJd0Hm2VlwX6CIw%2FScreen%20Shot%202022-12-19%20at%203.20.51%20PM.jpg?alt=media&#x26;token=8123a39a-aa45-402d-8b94-1e4899d1e16d" alt=""><figcaption><p>レコードUIDを確認する</p></figcaption></figure>

{% hint style="info" %}
構成ファイルからコマンダーコマンドを実行する手順について詳しくは、[こちらのページ](/keeperpam/jp/commander-cli/commander-installation-setup/logging-in.md#running-commands-from-the-configuration-file)をご参照ください。
{% endhint %}


---

# 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.keeper.io/keeperpam/jp/commander-cli/command-reference/plugins/automatic-execution.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.
