> 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/sso-connect-cloud/jp/device-approvals/automator/multi-tenant-mode.md).

# マルチテナントモード

<figure><img src="/files/dUNprzYUz9UjQsIQd63v" alt=""><figcaption></figcaption></figure>

### 概要 <a href="#creating-and-configuring-an-automator" id="creating-and-configuring-an-automator"></a>

Keeperオートメーターはマルチテナント構成に対応しており、単一のデプロイで複数のKeeperエンタープライズ環境の自動化を実行できます。

* MSP環境では、単一のKeeperオートメーターインスタンスで複数の管理対象企業を運用できます。
* エンタープライズカスタマーの場合、単一のインスタンスで複数のIDプロバイダの承認を処理できます。

サーバーが実行中になると、企業が異なっていても複数のSSOノードで使用できます。

### MSPによる複数管理対象企業の運用

単一のオートメーターインスタンスで複数の管理対象企業を運用する手順は以下のとおりです。

1. **MSP管理者としてコマンダーにログインします**

```
My Vault> login my_msp_admin@company.com
```

2. **コンテキストを管理対象企業に切り替えます**

```
My Vault> msp-info

MSP Plans and Licenses
-----------------------
  #  Plan Id           Available Licenses    Total Licenses    Stash
---  --------------  --------------------  ----------------  -------
  1  business                          83               100        0
  2  businessPlus                      50               100        0
  3  enterprise                        80               100        0
  4  enterprisePlus                    85               100        0

  #      ID  Name                     Plan              Allocated    Active
---  ------  -----------------------  --------------  -----------  --------
  1   81386  Demo Managed Co. LLC     enterprisePlus            5         0
  2   81344  Elite Auto Works         business                  5         4
  3  114391  John's Garage            enterprisePlus            5         0
  4  114392  John's Garages           enterprisePlus            5         0
  5   81345  Perfect Teeth Dental     businessPlus             50         4
  6  114281  Test                     business                 12         0
  7   81346  Troy Financial Services  enterprise               20         0
```

設定したい管理対象企業を見つけ、IDを選択して以下のように入力します。

```
switch-to-mc <ID>
```

3. **オートメーターインスタンスを作成します**

`edit` 手順では、共通のオートメーターURLを使用します。

例:

```
My Vault> automator create --name="Tenant1" --node="SSO Node"
My Vault> automator edit --url=https://my.company.com --skill=team_for_user --skill=device <Automator ID>
My Vault> automator setup <Automator ID>
My Vault> automator init <Automator ID>
My Vault> automator enable <Automator ID>
```

4. **MSPに戻ります**

MSP管理者コンテキストに戻ります。

```
My Vault> switch-to-msp
```

管理対象企業ごとに、上記の4つの手順を繰り返します。

### マルチテナントエンタープライズ

同一エンタープライズテナント内の複数ノードで、単一のオートメーターインスタンスを有効化する手順は以下のとおりです。

1. **管理者としてコマンダーにログインします**

```
My Vault> login admin@company.com
```

2. **オートメーターインスタンスを作成します**

各ノードについて、同じ `edit` URLを使用します。例:

```
My Vault> automator create --name="Tenant A" --node="<node_name>"
My Vault> automator edit --url=https://my.company.com --skill=team --skill=team_for_user --skill=device <Automator ID>
My Vault> automator setup <Automator ID>
My Vault> automator init <Automator ID>
My Vault> automator enable <Automator ID>
```

続いて、同じURLエンドポイントで別のインスタンスを設定します。

```
My Vault> automator create --name="Tenant B" --node="Azure"
My Vault> automator edit --url=https://my.company.com --skill=team --skill=team_for_user --skill=device <Automator ID>
My Vault> automator setup <Automator ID>
My Vault> automator init <Automator ID>
My Vault> automator enable <Automator ID>
```

名前とIDは異なり、割り当てられたノードも異なりますが、同じURLを使用します。

すべてのノードに対して手順2を繰り返し、同じオートメーターインスタンスに複数のテナントをセットアップします。


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.keeper.io/sso-connect-cloud/jp/device-approvals/automator/multi-tenant-mode.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
