> 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-sdk/keeper-commander-sdks/sdk-command-reference/keeperpam-commands.md).

# KeeperPAMコマンド

### 概要 <a href="#overview" id="overview"></a>

検出、パスワードローテーション、PAM構成、Keeperゲートウェイ構成など、KeeperPAMの各機能は `pam` コマンドおよびそのサブコマンドで操作できます。

### **pamコマンド** <a href="#pam-command" id="pam-command"></a>

**コマンド:** `pam`

**詳細:** KeeperPAMの各種操作

**サブコマンド**

* [gateway](#sub-command-gateway)
* [config](#sub-command-config)
* [action](#sub-command-action)
* [rotation](#sub-command-rotation)
* [connection](#sub-command-connection)
* [rbi](#sub-command-rbi)

***

### **サブコマンド: gateway** <a href="#sub-command-gateway" id="sub-command-gateway"></a>

Keeperゲートウェイサービスを表示、作成、削除できます。

### list <a href="#list" id="list"></a>

**コマンド**: `pam gateway list`

ユーザーがアクセス可能なすべてのゲートウェイを一覧表示します。対象は以下のとおりです。

* 自身のボルトから直接操作できるゲートウェイ
* ユーザーのロールに含まれる管理ノードのいずれかに登録されているゲートウェイ

**パラメーター**:

```
--force -f 
        Force retrieval of gateways
--verbose -v 
        Verbose output
-format {table,json}  
        Output format (table, json)
```

### **new** <a href="#new" id="new"></a>

**コマンド:** `pam gateway new`

**パラメーター:**

```
--name, -n GATEWAY_NAME 
        Name of the Gateway
--application, -a KSM_APP 
        KSM Application name or UID. Use command `sm app list` to view available            KSM Applications.
--token-expires-in-min, -e TOKEN_EXPIRE_IN_MIN 
        Time for the one time token to expire. Maximum 1440 minutes (24 hrs). Default: 60
--return_value, -r    
        Return value from the command for automation purposes
```

### edit <a href="#edit" id="edit"></a>

ゲートウェイ名や登録ノードを変更できます。Keeper管理コンソールの **\[シークレットマネージャー]** → **\[ゲートウェイ]** からも同じ操作ができます。

**コマンド**: `pam gateway` edit

**パラメーター**:

```
--gateway, -g 
                GATEWAY Gateway UID or Name
--name, -n 
                GATEWAY_NAME Name of the Gateway
 --node-id, -i NODE_ID  
                 Node ID
```

### **remove** <a href="#remove" id="remove"></a>

ゲートウェイを削除します。この操作を実行するユーザーは、ゲートウェイの親アプリケーションに対する管理者権限を持っている必要があります。

**コマンド**: `pam gateway remove`

**パラメーター**:

`--gateway, -g GATEWAY` UID of the Gateway

### set-max-instances <a href="#set-max-instances" id="set-max-instances"></a>

ゲートウェイプールの最大インスタンス数を設定します。

**コマンド**: `pam gateway set-max-instances`

**パラメーター:**

`--gateway, -g GATEWAY` ゲートウェイUID

`--max-instances, -m MAX_INSTANCES` ゲートウェイインスタンスの上限 (1以上)

***

### **サブコマンド: config** <a href="#sub-command-config" id="sub-command-config"></a>

PAM構成を表示、作成、編集、削除できます。

#### list <a href="#list-1" id="list-1"></a>

**コマンド**: `pam config list`

**パラメーター**

`--config, -c PAM_CONFIGURATION` 特定のPAM構成UID

`--verbose, -v` 詳細出力

`--format {table,json}` 出力形式 (table、json)

#### new <a href="#new-1" id="new-1"></a>

**コマンド:** `pam config new`

**パラメーター:**

```
 --environment, -env {local,aws,azure,gcp,domain,oci}  PAM Configuration Type
  --title, -t TITLE     
                        Title of the PAM Configuration
  --gateway, -g GATEWAY_UID 
                        Gateway UID or Name
  --shared-folder, -sf 
                        SHARED_FOLDER_UID Share Folder where this PAM Configuration is stored. Should be one of the folders to which the gateway has access to.
  --schedule, -sc 
                        DEFAULT_SCHEDULE  Default Schedule: Use CRON syntax
  --port-mapping, -pm PORT_MAPPING
                        Port Mapping
  --identity-provider, -idp IDENTITY_PROVIDER_UID
                        Identity Provider UID
  --connections, -c {on,off,default}
                        Set connections permissions
  --tunneling, -u {on,off,default}
                        Set tunneling permissions
  --rotation, -r {on,off,default}
                        Set rotation permissions
  --remote-browser-isolation, -rbi {on,off,default}
                        Set remote browser isolation permissions
  --connections-recording, -cr {on,off,default}
                        Set recording connections permissions for the resource
  --typescript-recording, -tr {on,off,default}
                        Set TypeScript recording permissions for the resource
  --ai-threat-detection {on,off,default}
                        Set AI threat detection permissions
  --ai-terminate-session-on-detection {on,off,default}
                        Set AI session termination on threat detection permissions

network:
  Local network configuration

  --network-id NETWORK_ID
                        Network ID
  --network-cidr NETWORK_CIDR
                        Network CIDR

aws:
  AWS configuration

  --aws-id AWS_ID       AWS ID
  --access-key-id ACCESS_KEY_ID
                        Access Key Id
  --access-secret-key ACCESS_SECRET_KEY
                        Access Secret Key
  --region-name REGION_NAMES
                        Region Names

azure:
  Azure configuration

  --azure-id AZURE_ID   Azure Id
  --client-id CLIENT_ID
                        Client Id
  --client-secret CLIENT_SECRET
                        Client Secret
  --subscription_id SUBSCRIPTION_ID
                        Subscription Id
  --tenant-id TENANT_ID
                        Tenant Id
  --resource-group RESOURCE_GROUPS
                        Resource Group

domain:
  Domain configuration

  --domain-id DOMAIN_ID
                        Domain ID
  --domain-hostname DOMAIN_HOSTNAME
                        Domain hostname
  --domain-port DOMAIN_PORT
                        Domain port
  --domain-use-ssl {true,false}
                        Domain use SSL flag
  --domain-scan-dc-cidr {true,false}
                        Domain scan DC CIDR flag
  --domain-network-cidr DOMAIN_NETWORK_CIDR
                        Domain Network CIDR
  --domain-admin DOMAIN_ADMINISTRATIVE_CREDENTIAL
                        Domain administrative credential

oci:
  OCI configuration

  --oci-id OCI_ID       OCI ID
  --oci-admin-id OCI_ADMIN_ID
                        OCI Admin ID
  --oci-admin-public-key OCI_ADMIN_PUBLIC_KEY
                        OCI admin public key
  --oci-admin-private-key OCI_ADMIN_PRIVATE_KEY
                        OCI admin private key
  --oci-tenancy OCI_TENANCY
                        OCI tenancy
  --oci-region OCI_REGION
                        OCI region

gcp:
  GCP configuration

  --gcp-id GCP_ID       GCP Id
  --service-account-key SERVICE_ACCOUNT_KEY
                        Service Account Key (JSON format)
  --google-admin-email GOOGLE_ADMIN_EMAIL
                        Google Workspace Administrator Email Address
  --gcp-region REGION_NAMES
                        GCP Region Names

```

#### edit <a href="#edit-1" id="edit-1"></a>

**コマンド:** `pam config edit`

**パラメーター:**

```
--environment, -env {local,aws,azure,gcp,domain,oci}
                        PAM Configuration Type
  --title, -t TITLE     Title of the PAM Configuration
  --gateway, -g GATEWAY_UID
                        Gateway UID or Name
  --shared-folder, -sf SHARED_FOLDER_UID
                        Share Folder where this PAM Configuration is stored. Should be one of the folders to which the gateway has access to.
  --schedule, -sc DEFAULT_SCHEDULE
                        Default Schedule: Use CRON syntax
  --port-mapping, -pm PORT_MAPPING
                        Port Mapping
  --identity-provider, -idp IDENTITY_PROVIDER_UID
                        Identity Provider UID
  --remove-resource-record, -rrr REMOVE_RECORDS
                        Resource Record UID to remove
  --connections, -c {on,off,default}
                        Set connections permissions
  --tunneling, -u {on,off,default}
                        Set tunneling permissions
  --rotation, -r {on,off,default}
                        Set rotation permissions
  --remote-browser-isolation, -rbi {on,off,default}
                        Set remote browser isolation permissions
  --connections-recording, -cr {on,off,default}
                        Set recording connections permissions for the resource
  --typescript-recording, -tr {on,off,default}
                        Set TypeScript recording permissions for the resource

network:
  Local network configuration

  --network-id NETWORK_ID
                        Network ID
  --network-cidr NETWORK_CIDR
                        Network CIDR

aws:
  AWS configuration

  --aws-id AWS_ID       AWS ID
  --access-key-id ACCESS_KEY_ID
                        Access Key Id
  --access-secret-key ACCESS_SECRET_KEY
                        Access Secret Key
  --region-name REGION_NAMES
                        Region Names

azure:
  Azure configuration

  --azure-id AZURE_ID   Azure Id
  --client-id CLIENT_ID
                        Client Id
  --client-secret CLIENT_SECRET
                        Client Secret
  --subscription_id SUBSCRIPTION_ID
                        Subscription Id
  --tenant-id TENANT_ID
                        Tenant Id
  --resource-group RESOURCE_GROUPS
                        Resource Group

domain:
  Domain configuration

  --domain-id DOMAIN_ID
                        Domain ID
  --domain-hostname DOMAIN_HOSTNAME
                        Domain hostname
  --domain-port DOMAIN_PORT
                        Domain port
  --domain-use-ssl {true,false}
                        Domain use SSL flag
  --domain-scan-dc-cidr {true,false}
                        Domain scan DC CIDR flag
  --domain-network-cidr DOMAIN_NETWORK_CIDR
                        Domain Network CIDR
  --domain-admin DOMAIN_ADMINISTRATIVE_CREDENTIAL
                        Domain administrative credential

oci:
  OCI configuration

  --oci-id OCI_ID       OCI ID
  --oci-admin-id OCI_ADMIN_ID
                        OCI Admin ID
  --oci-admin-public-key OCI_ADMIN_PUBLIC_KEY
                        OCI admin public key
  --oci-admin-private-key OCI_ADMIN_PRIVATE_KEY
                        OCI admin private key
  --oci-tenancy OCI_TENANCY
                        OCI tenancy
  --oci-region OCI_REGION
                        OCI region

gcp:
  GCP configuration

  --gcp-id GCP_ID       GCP Id
  --service-account-key SERVICE_ACCOUNT_KEY
                        Service Account Key (JSON format)
  --google-admin-email GOOGLE_ADMIN_EMAIL
                        Google Workspace Administrator Email Address
  --gcp-region REGION_NAMES
                        GCP Region Names


```

#### remove <a href="#remove-1" id="remove-1"></a>

**コマンド**: `pam config remove`

**パラメーター**:

`--gateway, -g GATEWAY` ゲートウェイUID

***

### **サブコマンド: action** <a href="#sub-command-action" id="sub-command-action"></a>

PAMリソースの検出、認証情報のローテーション、サービスアカウントの管理に使います。

#### gateway-info <a href="#gateway-info" id="gateway-info"></a>

**コマンド**: `pam action gateway-info`

**パラメーター**:

`--gateway, -g GATEWAY_UID` ゲートウェイUID

`--verbose, -v` 詳細出力

#### rotate <a href="#rotate" id="rotate"></a>

特定のリソース、リソースのフォルダ、リソースタイトル内のパターンに対して、認証情報のローテーションを実行します。

**コマンド**: `pam action rotate`

**パラメーター**:

```
--record-uid, -r RECORD_UID
                        Record UID to rotate
  --folder, -f FOLDER   Shared folder UID or title pattern to rotate
  --dry-run, -n         Enable dry-run mode
  --self-destruct <NUMBER>[(m)inutes|(h)ours|(d)ays]
                        Create a one-time share link that expires after a duration
  --email-config EMAIL_CONFIG
                        Email configuration name to use for sending (required with --send-email)
  --send-email SEND_EMAIL
                        Email address to send credentials after rotation
  --email-message EMAIL_MESSAGE
                        Custom message to include in email

```

#### job-info <a href="#job-info" id="job-info"></a>

実行中のジョブの情報を表示します。

**コマンド**: `pam action job-info`

**パラメーター**:

`--gateway, -g GATEWAY_UID` ゲートウェイUID (複数のゲートウェイが実行中の場合のみ指定)

#### job-cancel <a href="#job-cancel" id="job-cancel"></a>

実行中のジョブをキャンセルします。

**コマンド**: `pam action job-cancel`

**パラメーター:**

`--gateway, -g GATEWAY_UID` ゲートウェイUID (複数のゲートウェイが実行中の場合のみ指定)

#### discover start <a href="#discover-start" id="discover-start"></a>

検出ジョブを開始します。

**コマンド**: `pam action discover start`

**パラメーター:**

```
--gateway, -g GATEWAY
                        Gateway name of UID.
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --resource, -r RESOURCE_UID
                        UID of the resource record. Set to discover specific resource.
  --lang LANGUAGE       Language
  --include-machine-dir-users
                        Include directory users found on the machine.
  --inc-azure-aadds     Include Azure Active Directory Domain Service.
  --skip-rules          Skip running the rule engine.
  --skip-machines       Skip discovering machines.
  --skip-databases      Skip discovering databases.
  --skip-directories    Skip discovering directories.
  --skip-cloud-users    Skip discovering cloud users.
```

#### discover status <a href="#discover-status" id="discover-status"></a>

検出ジョブのステータスを表示します。

**コマンド**: `pam action discover status`

**パラメーター**:

```
--gateway, -g GATEWAY
                        Show only discovery jobs from a specific gateway.
  --job-id, -j JOB_ID   Detailed information for a specific discovery job.
  --history             Show history
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID is using --history
```

#### discover remove <a href="#discover-remove" id="discover-remove"></a>

実行中の検出ジョブを停止します。

**コマンド**: `pam action discover remove`

**パラメーター:**

`--job-id, -j JOB_ID` 検出ジョブID

#### discover process <a href="#discover-process" id="discover-process"></a>

検出ジョブの結果を処理します。

**コマンド**: `pam action discover process`

**パラメーター:**

```
--job-id, -j JOB_ID   Discovery job to process.
--add-all             Respond with ADD for all prompts.
--preview             Preview the results
--debug-gs-level DEBUG_LEVEL
                        GraphSync debug level. Default is 0
```

#### discover rule add <a href="#discover-rule-add" id="discover-rule-add"></a>

検出ルールを追加します。

**コマンド**: `pam action discover rule add`

**パラメーター:**

```
 --gateway, -g GATEWAY
                        Gateway name of UID.
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --action, -a {add,ignore,prompt}
                        Action to take if rule matches
  --priority, -p PRIORITY
                        Rule execute priority
  --name, -n NAME       Rule name
  --ignore-case         Ignore value case. Rule value must be in lowercase.
  --shared-folder-uid SHARED_FOLDER_UID
                        Folder to place record.
  --admin-uid ADMIN_UID
                        Admin record UID to use for resource.
  --statement, -s STATEMENT
                        Rule statement
```

#### discover rule list <a href="#discover-rule-list" id="discover-rule-list"></a>

**コマンド**: `pam action discover rule list`

**パラメーター:**

```
--gateway, -g GATEWAY
                        Gateway name of UID.
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --search, -s SEARCH   Search for rules.

```

#### discover rule remove <a href="#discover-rule-remove" id="discover-rule-remove"></a>

**コマンド**: `pam action discover rule remove`

**パラメーター:**

```
--gateway, -g GATEWAY
                        Gateway name of UID.
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --rule-id, -i RULE_ID
                        Identifier for the rule
  --remove-all          Remove all the rules

```

#### discover rule update <a href="#discover-rule-update" id="discover-rule-update"></a>

**コマンド**: `pam action discover rule update`

**パラメーター:**

```
--gateway, -g GATEWAY
                        Gateway name of UID.
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --rule-id, -i RULE_ID
                        Identifier for the rule
  --action, -a {add,ignore,prompt}
                        Update the action to take if rule matches
  --priority, -p PRIORITY
                        Update the rule execute priority
  --name, -n NAME       Rule name
  --ignore-case         Update the rule to ignore case
  --no-ignore-case      Update the rule to not ignore case
  --shared-folder-uid SHARED_FOLDER_UID
                        Update the folder to place record.
  --admin-uid ADMIN_UID
                        Admin record UID to use for resource.
  --clear-shared-folder-uid
                        Clear shared folder UID, use default.
  --clear-admin-uid     Clear admin UID
  --statement, -s STATEMENT
                        Update the rule statement
  --active              Enable rule.
  --disable             Disable rule.

```

#### service list <a href="#service-list" id="service-list"></a>

特定のKeeperゲートウェイに関連するサービスとスケジュールタスクを表示します。

**コマンド**: `pam action service list`

**パラメーター:**

```
 --gateway, -g GATEWAY
                        Gateway name or UID
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.

```

#### service add <a href="#service-add" id="service-add"></a>

特定のKeeperゲートウェイおよびPAMマシンにサービスを関連付けます。関連付け後、そのPAMマシン上のサービス認証情報が更新され、実行中のサービスは再起動されます。

**コマンド**: `pam action service add`

**パラメーター:**

```
--gateway, -g GATEWAY
                        Gateway name or UID
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --machine-uid, -m MACHINE_UID
                        The UID of the Windows Machine record
  --user-uid, -u USER_UID
                        The UID of the User record
  --type, -t {service,task,iis}
                        Relationship to add [service, task, iis]
```

#### service remove <a href="#service-remove" id="service-remove"></a>

特定のPAMマシン上のサービスの関連付けを削除します。

**コマンド**: `pam action service remove`

**パラメーター**:

```
--gateway, -g GATEWAY
                        Gateway name or UID
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --machine-uid, -m MACHINE_UID
                        The UID of the Windows Machine record
  --user-uid, -u USER_UID
                        The UID of the User record
  --type, -t {service,task,iis}
                        Relationship to remove [service, task, iis]
```

#### saas config <a href="#saas-config" id="saas-config"></a>

**コマンド**: `pam action saas config`

**パラメーター**:

```
--gateway, -g GATEWAY
                        Gateway name or UID
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --list, -l            List available SaaS rotations.
  --plugin, -p PLUGIN   Plugin name
  --info                Get information about a plugin or plugins being used.
  --create              Create a SaaS Plugin config record.
  --update-config-uid, -u DO_UPDATE
                        Update an existing SaaS configuration.
  --shared-folder-uid, -s SHARED_FOLDER_UID
                        Shared folder to store SaaS configuration.

```

#### saas set <a href="#saas-set" id="saas-set"></a>

**コマンド**: `pam action saas set`

**パラメーター**:

```
--user-uid, -u USER_UID
                        The UID of the User record
  --config-record-uid, -c CONFIG_RECORD_UID
                        The UID of the record that has SaaS configuration
  --resource-uid, -r RESOURCE_UID
                        The UID of the Resource record, if needed.

```

#### saas remove <a href="#saas-remove" id="saas-remove"></a>

**コマンド**: `pam action saas remove`

**パラメーター:**

```
--user-uid, -u USER_UID
                        The UID of the User record
  --resource-uid, -r RESOURCE_UID
                        The UID of the Resource record, if needed.
```

#### saas user <a href="#saas-user" id="saas-user"></a>

**コマンド**: `pam action saas user`

**パラメーター:**

```
--user-record-uid, -u USER_UID
                                The UID of the User record
```

#### saas update <a href="#saas-update" id="saas-update"></a>

**コマンド**: `pam action saas update`

**パラメーター:**

```
--gateway, -g GATEWAY
                        Gateway name of UID.
  --configuration-uid CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --all, -a             Update all configurations.
  --config-record-uid, -c CONFIG_UID
                        Update a specific configuration.
  --dry-run             Dry run. Do not save any changes.
```

#### debug info <a href="#debug-info" id="debug-info"></a>

**コマンド**: `pam action debug info`

**パラメーター**:

`--record-uid, -i RECORD_UID.` KeeperPAMレコードUID

#### debug gateway <a href="#debug-gateway" id="debug-gateway"></a>

**コマンド**: `pam action debug gateway`

**パラメーター**:

```
--gateway, -g GATEWAY
                        Gateway name or UID
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
```

#### debug graph <a href="#debug-graph" id="debug-graph"></a>

**コマンド**: `pam action debug graph`

**パラメーター**:

```
--gateway, -g GATEWAY
                        Gateway name or UID.
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --type, -t {infra,rl,service,jobs}
                        Graph type
  --raw                 Render raw graph. Will render corrupt graphs.
  --list                List items in a list.
  --render              Render a graph
  --file, -f FILEPATH   Base name for the graph file.
  --format {raw,dot,twopi,patchwork}
                        The format of the graph.
  --debug-gs-level DEBUG_LEVEL
                        GraphSync debug level. Default is 0
```

#### debug acl <a href="#debug-acl" id="debug-acl"></a>

**コマンド**: `pam action debug acl`

**パラメーター**:

```
--gateway, -g GATEWAY
                        Gateway name or UID.
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --user-uid, -u USER_UID
                        User UID.
  --parent-uid, -r PARENT_UID
                        Resource or Configuration UID.
  --debug-gs-level DEBUG_LEVEL
                        GraphSync debug level. Default is 0
```

#### debug link <a href="#debug-link" id="debug-link"></a>

**コマンド**: `pam action debug link`

**パラメーター**:

```
--gateway, -g GATEWAY
                        Gateway name or UID.
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --resource-uid, -r RESOURCE_UID
                        Resource record UID.
  --debug-gs-level DEBUG_LEVEL
                        GraphSync debug level. Default is 0
```

#### debug rs-reset <a href="#debug-rs-reset" id="debug-rs-reset"></a>

**コマンド**: `pam action debug rs-reset`

**パラメーター:**

```
--noop                User is part of a No Operation.
  --force               Force reset of the rotation settings.
  --dry-run             Do not create or update anything.
                        PAM resource record UID.
  --resource-record-uid, -r RESOURCE_RECORD_UID
                        PAM configuration record UID.
  --configuration-record-uid, -c CONFIGURATION_RECORD_UID
                        PAM user record UID.
 --user-record-uid, -i USER_RECORD_UID
```

#### debug vertex <a href="#debug-vertex" id="debug-vertex"></a>

**コマンド**: `pam action debug vertex`

**パラメーター**:

```
--gateway, -g GATEWAY
                        Gateway name or UID
  --configuration-uid, -c CONFIGURATION_UID
                        PAM configuration UID, if gateway has multiple.
  --vertex, -i VERTEX_UID
                        Vertex in infrastructure graph
```

### サブコマンド: rotation <a href="#sub-command-rotation" id="sub-command-rotation"></a>

レコードのKeeperローテーションの設定を表示および作成します。

#### list <a href="#list-2" id="list-2"></a>

ローテーションが設定されているすべてのリソースの一覧を表示します。

**コマンド**: `pam rotation list`

**パラメーター**

`--verbose, -v` 詳細出力

#### info <a href="#info" id="info"></a>

特定のリソースに対するローテーション設定の情報を表示します。

**コマンド:** `pam rotation info`

**パラメーター:**

`--record-uid, -r RECORD_UID` ローテーション対象のレコードUID

#### edit <a href="#edit-2" id="edit-2"></a>

**コマンド**: `pam rotation edit`

**パラメーター:**

```
--record, -r RECORD_NAME
                        Record UID, name, or pattern to be rotated manually or via schedule
  --folder, -fd FOLDER_NAME
                        Used for bulk rotation setup. The folder UID or name that holds records to be configured
  --force, -f           Do not ask for confirmation
  --config, -c CONFIG   UID or path of the configuration record.
  --iam-aad-config, -iac IAM_AAD_CONFIG_UID
                        UID of a PAM Configuration. Used for an IAM or Azure AD user in place of --resource.
  --rotation-profile, -rp {general,iam_user,scripts_only}
                        Rotation profile type: general (resource-based), iam_user (IAM/Azure user), scripts_only (run PAM scripts only)
  --resource, -rs RESOURCE
                        UID or path of the resource record.
  --schedulejson, -sj SCHEDULE_JSON_DATA
                        JSON of the scheduler. Example: -sj '{"type": "WEEKLY", "utcTime": "15:44", "weekday": "SUNDAY", "intervalCount": 1}'
  --schedulecron, -sc SCHEDULE_CRON_DATA
                        Cron tab string of the scheduler. Example: to run job daily at 5:56PM UTC enter following cron -sc "56 17 * * *"
  --on-demand, -od      Schedule On Demand
  --schedule-config, -sf
                        Schedule from Configuration
  --schedule-only, -so  Only update the rotation schedule without changing other settings
  --complexity, -x PWD_COMPLEXITY
                        Password complexity: length, upper, lower, digits, symbols. Ex. 32,5,5,5,5[,SPECIAL CHARS]
  --admin-user, -a ADMIN
                        UID or path for the PAMUser record to configure the admin credential on the PAM Resource as the Admin when rotating
  --enable, -e          Enable rotation
  --disable, -d         Disable rotation

```

#### script list <a href="#script-list" id="script-list"></a>

**コマンド**: `pam rotation script list`

**パラメーター:**

```
--format {table,csv,json}
                        format of output
  --output OUTPUT       path to resulting output file (ignored for "table" format)

```

#### script add <a href="#script-add" id="script-add"></a>

**コマンド**: `pam rotation script add`

**パラメーター:**

```
 --script SCRIPT       Script file name
  --add-credential ADD_CREDENTIAL
                        Record with rotation credential
  --script-command SCRIPT_COMMAND
                        Script command
```

#### script edit <a href="#script-edit" id="script-edit"></a>

**コマンド**: `pam rotation script edit`

**パラメーター:**

```
 --script SCRIPT       Script UID or name
  -ac, --add-credential ADD_CREDENTIAL
                        Add a record with rotation credential
  -rc, --remove-credential REMOVE_CREDENTIAL
                        Remove a record with rotation credential
  --script-command SCRIPT_COMMAND
                        Script command
```

#### script delete <a href="#script-delete" id="script-delete"></a>

**コマンド**: `pam rotation script delete`

**パラメーター**:

`--script SCRIPT` スクリプトUIDまたは名前

***

### サブコマンド: connection <a href="#sub-command-connection" id="sub-command-connection"></a>

PAMマシンおよびPAMデータベースのレコードに紐づく接続パラメータとユーザーアカウントの編集に使います。一括処理には**run-batch**コマンドが利用できます。

#### connection edit <a href="#connection-edit" id="connection-edit"></a>

**コマンド**: `pam connection edit`

**パラメーター:**

```
--configuration, -c CONFIG
                        The PAM Configuration UID or path to use for connections. Use command `pam config list` to view available PAM Configurations.
  --admin-user, -a ADMIN
                        The record path or UID of the PAM User record to configure the admin credential on the PAM Resource
  --launch-user, -lu LAUNCH_USER
                        The record path or UID of the PAM User record to configure as the launch credential on the PAM Resource
  --protocol, -p {,http,kubernetes,mysql,postgresql,rdp,sql-server,ssh,telnet,vnc}
                        Set connection protocol
  --connections, -cn {on,off,default}
                        Set connections permissions
  --connections-recording, -cr {on,off,default}
                        Set recording connections permissions for the resource
  --typescript-recording, -tr {on,off,default}
                        Set TypeScript recording permissions for the resource
  --connections-override-port, -cop CONNECTIONS_OVERRIDE_PORT
                        Port to use for connections. If not provided, the port from the record will be used.
  --key-events, -k {on,off,default}
                        Toggle Key Events settings
  --silent, -s          Silent mode - don't print PAM User, PAM Config etc.

```

***

### サブコマンド: rbi <a href="#sub-command-rbi" id="sub-command-rbi"></a>

レコードのリモートブラウザ分離 (RBI) 設定を編集します。

#### rbi edit <a href="#rbi-edit" id="rbi-edit"></a>

**コマンド**: `pam rbi edit`

**パラメーター:**

```
--record, -r RECORD   The record UID or path of the RBI record.
  --configuration, -c CONFIG
                        The PAM Configuration UID or path to use for connections. Use command `pam config list` to view available PAM Configurations.
  --remote-browser-isolation, -rbi {on,off,default}
                        Set RBI permissions
  --connections-recording, -cr {on,off,default}
                        Set recording connections permissions for the resource
  --key-events, -k {on,off,default}
                        Toggle Key Events settings
  --allow-url-navigation, -nav {on,off,default}
                        Allow navigation via direct URL manipulation (on/off/default)
  --ignore-server-cert, -isc {on,off,default}
                        Ignore server certificate errors (on/off/default)
  --allowed-urls, -au ALLOWED_URLS
                        Allowed URL patterns (can specify multiple times)
  --allowed-resource-urls, -aru ALLOWED_RESOURCE_URLS
                        Allowed resource URL patterns (can specify multiple times)
  --autofill-credentials, -a AUTOFILL
                        The record UID or path of the RBI Autofill Credentials record.
  --autofill-targets, -at AUTOFILL_TARGETS
                        Autofill target selectors (can specify multiple times)
  --allow-copy, -cpy {on,off,default}
                        Allow copying to clipboard (on/off/default)
  --allow-paste, -p {on,off,default}
                        Allow pasting from clipboard (on/off/default)
  --disable-audio, -da {on,off,default}
                        Disable audio for RBI sessions (on/off/default)
  --audio-channels, -ac AUDIO_CHANNELS
                        Number of audio channels (e.g., 1 for mono, 2 for stereo)
  --audio-bit-depth, -bd {8,16}
                        Audio bit depth (8 or 16)
  --audio-sample-rate, -sr AUDIO_SAMPLE_RATE
                        Audio sample rate in Hz (e.g., 44100, 48000)
  --silent, -s          Silent mode - don't print PAM User, PAM Config etc.
```


---

# 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/keeperpam/jp/commander-sdk/keeper-commander-sdks/sdk-command-reference/keeperpam-commands.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.
