> 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/enterprise-guide/jp/user-and-team-provisioning/cli-provisioning-with-commander-sdk.md).

# コマンダーSDKを使用したCLIのプロビジョニング

KeeperコマンダーはオープンソースのPython SDKで、Keeperシステム内でさまざまなボルト機能や管理機能を実行できます。

Keeperでは、PythonベースのKeeperコマンダーSDKを通じてAPIベースのプロビジョニングを行えます。コマンダーSDKは、以下の用途で利用できます。

* Keeperボルトへのコマンドラインアクセス
* レポートの実行
* パスワード、フォルダ、共有フォルダのインポート
* ユーザーとチームのプロビジョニング
* ユーザーとチームへのレコードのプッシュ
* ユーザーとチームとのレコードやフォルダの共有
* 対象のパスワードローテーションの実行
* シークレットマネージャーとKeeper PAMの管理

KeeperコマンダーはオープンソースのSDKであり、Pythonで記述されているため、必要に応じてカスタマイズし、バックエンドシステムに統合できます。

コマンダーのリソース:

* [コマンダーCLI](/keeperpam/jp/commander-cli/overview.md)
* [コマンダーSDK](/keeperpam/jp/commander-sdk/keeper-commander-sdks.md)

#### コマンドラインの使用

コマンダーのコマンドラインインターフェースとインタラクティブシェルは、Keeperボルトへのアクセスや制御、さまざまな管理操作を行うための便利な方法です。使用可能なすべてのコマンドを確認するには、以下のように入力します。

```
$ keeper

usage: keeper [--server SERVER] [--user USER] [--password PASSWORD]
              [--version] [--config CONFIG] [--debug]
              [command] [options [options ...]]

positional arguments:
  command               Command
  options               Options

optional arguments:
  --server SERVER, -ks SERVER
                        Keeper Host address.
  --user USER, -ku USER
                        Email address for the account.
  --password PASSWORD, -kp PASSWORD
                        Master password for the account.
  --version             Display version
  --config CONFIG       Config file to use
  --debug               Turn on debug mode
```

#### インタラクティブシェル

一連のコマンドを実行してログイン状態を維持するには、コマンダーのインタラクティブシェルが便利です。

```
$ keeper shell

  _  __
 | |/ /___ ___ _ __  ___ _ _
 | ' </ -_) -_) '_ \/ -_) '_|
 |_|\_\___\___| .__/\___|_|
              |_|

 password manager & digital vault

Logging in...
Syncing...
Decrypted [400] Records

My Vault>
```

`h` と入力すると、すべてのコマンドとヘルプ情報が表示されます。

#### Keeperコマンドリファレンス

コマンダーには数百の機能があります。ユーザーとチームのプロビジョニングに関連するコマンドは、以下のとおりです。

* create-user
* enterprise-info
* enterprise-node
* enterprise-user
* enterprise-role
* enterprise-team
* enterprise-push
* team-approve
* transfer-user
* scim
* automator

コマンダーでユーザーアカウントを作成する方法は2つあります。

* `enterprise-user --add` コマンドでユーザーをエンタープライズに招待する
* `create-user` コマンドで新しいユーザーアカウントとボルトを作成する

コマンダーが提供するすべてのコマンドの一覧は、以下をご参照ください。

* [Keeperコマンドリファレンス](/keeperpam/jp/commander-cli/command-reference.md)


---

# 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/enterprise-guide/jp/user-and-team-provisioning/cli-provisioning-with-commander-sdk.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.
