# 自動実行

{% hint style="warning" %}
KeeperPAMでは、ゼロトラストのパスワードローテーションに新たに対応しています。多くのパスワードローテーションの用途では、この方式の利用が推奨されます。詳細は以下をご参照ください。

* [KeeperPAMを使用したパスワードローテーション](/keeperpam/jp/secrets-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デスクトップアプリで確認できます (以下を参照)。

{% hint style="info" %}
設定ファイルを使用したCommanderコマンドの詳細については、[こちら](/keeperpam/jp/commander-cli/commander-installation-setup/configuration.md)設定をご参照ください。
{% endhint %}

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