# コマンダーを使用したユニバーサルシークレット同期

## 概要

本ページでは、KeeperコマンダーでUSSを使用して、対象クラウドのシークレットインフラ内のリソースを同期する方法について取り扱います。

## 要件

コマンダーでUSSを使用する前に、[ユニバーサルシークレット同期の基本](/keeperpam/jp/privileged-access-manager/universal-secrets-sync/discovery-basics.md)をご参照ください。

対応するPAMクラウド構成のUSS設定でドライランが選択されている場合にのみ、コマンダーから同期を開始する必要があります。それ以外の場合、USSは自動的に実行されます。

### コマンダーの起動

`keeper shell` コマンドでKeeperコマンダーCLIにログインします。

```
$ keeper shell
```

### 構成の一覧

`pam config list` または `pam c l` コマンドを実行し、すべての構成を一覧表示します。

```
My Vault> pam config list
UID                     Config Name                   Config Type              Shared Folder                                              Gateway UID             Resource Record UIDs
----------------------  ----------------------------  -----------------------  ---------------------------------------------------------  ----------------------  ----------------------
qZkz5qoShpQL2J_TKurbRw  AWS USS Configuration         pamAwsConfiguration      AWS USS Folder - Users (yEW84228pFIEsbHPokxGjg)            Wu6-vzjOSJKOs3xGvmO74w
BtRLYDwx0AtvN2kaMbS-gQ  AWS USS Configuration IE      pamAwsConfiguration      AWS USS Folder - Users (yEW84228pFIEsbHPokxGjg)            Wu6-vzjOSJKOs3xGvmO74w
Fp_Nt9sI-fjd4n4jhOdMrw  Azure USS Configuration       pamAzureConfiguration    AWS USS Folder - Users (yEW84228pFIEsbHPokxGjg)            Wu6-vzjOSJKOs3xGvmO74w
e-oiP-gCEeatNVpLrVZ6Tg  GCP PAM Config                pamGcpConfiguration      Local Gateway Folder - Resources (KBfF0jOvPg6FxOZyz2xNzA)  1MX6ZTJPQWmHF1S_CRQ3Gw
VjFRx3_0kMyedeAKuQSpcQ  GCP USS Configuration         pamGcpConfiguration      AWS USS Folder - Users (yEW84228pFIEsbHPokxGjg)            Wu6-vzjOSJKOs3xGvmO74w
mzkHNi21uEB8bpxa228bjw  Local Gateway Configuration   pamNetworkConfiguration  Local Gateway Folder - Users (jkj1rVit39QcJJM70lMCDQ)      1MX6ZTJPQWmHF1S_CRQ3Gw
My Vault>
```

同期プロセスを開始するには、構成UIDが必要です。

### 同期ジョブの開始 <a href="#pdf-page-wpi3whavxrldg8klapvv-start-discovery-job" id="pdf-page-wpi3whavxrldg8klapvv-start-discovery-job"></a>

`pam universal-sync-run` コマンドで同期ジョブを開始します。`-n` オプションで構成UIDを指定する必要があります。

```
pam universal-sync-run -n qZkz5qoShpQL2J_TKurbRw
```

### コマンダーの機能をさらに活用する

Keeperコマンダーは、ゲートウェイ、構成、ローテーション、検出の管理など、多くの高度な機能を備えています。利用可能なすべてのオプションについては、[KeeperPAMコマンド](/keeperpam/jp/commander-cli/command-reference/keeperpam-commands.md)のページをご参照ください。


---

# 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/privileged-access-manager/universal-secrets-sync/discovery-using-commander.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.
