> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/1password/1password-cli-environment-variables.md).

# 1Password CLI環境変数

1Password CLI では次の環境変数を使用できます。

| `OP_ACCOUNT`                  | コマンドを実行するためのデフォルトの 1Password アカウントを指定します。アカウントのサインインアドレスまたはIDを受け入れます。`--account`フラグで指定されたアカウントが優先されます。                                                                                                                                                                                     |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `OP_BIOMETRIC_UNLOCK_ENABLED` | 1Password アプリの統合をオンまたはオフに切り替えます。オプション：`true`、`false`。                                                                                                                                                                                                                                      |
| `OP_CACHE`                    | キャッシュされた情報をSaveして使うオプションをオンまたはオフに切り替えます。オプション：`true`、`false`（デフォルトは`true`）。                                                                                                                                                                                                                |
| `OP_CONFIG_DIR`               | 読み取りおよび書き込み先の構成ディレクトリーを指定します。フラグで指定されたディレクトリ`--config`が優先されます。                                                                                                                                                                                                                             |
| `OP_CONNECT_HOST`             | 1Password CLIで使う[Connect サーバー のインスタンスのホストURL](https://developer.1password.com/docs/connect/connect-cli/)を設定します。                                                                                                                                                                            |
| `OP_CONNECT_TOKEN`            | 1Password CLIで使う[Connectサーバートークン](https://developer.1password.com/docs/connect/connect-cli/)を設定します。                                                                                                                                                                                        |
| `OP_DEBUG`                    | デバッグモードのオン・オフを切り替えます。オプション：`true`、`false`（デフォルトは`false`）。                                                                                                                                                                                                                                  |
| `OP_FORMAT`                   | 1Password CLI コマンドの出力形式を設定します。オプション：`human-readable`、`json`（デフォルトは`human-readable`）。                                                                                                                                                                                                       |
| `OP_INCLUDE_ARCHIVE`          | アーカイブ内のアイテムを[`op item get`](https://developer.1password.com/docs/cli/reference/management-commands/item#item-get)および[`op document get`](https://developer.1password.com/docs/cli/reference/management-commands/document#document-get)コマンドで取得できるようにします。オプション：`true`、`false`（デフォルトは`false`）。 |
| `OP_ISO_TIMESTAMPS`           | ISO 8601とRFC 3339標準に従ってタイムスタンプをフォーマットするオプションをオンまたはオフに切り替えます。オプションは`true`、`false`（デフォルトは`false`）。                                                                                                                                                                                           |
| `OP_RUN_NO_MASKING`           | 出力のマスキングをオフに切り替えます[`op run`](https://developer.1password.com/docs/cli/reference/commands/run)。                                                                                                                                                                                             |
| `OP_SESSION`                  | [1Password CLIに手動でサインインする](https://developer.1password.com/docs/cli/sign-in-manually)ときにセッション トークンをSaveします。                                                                                                                                                                                |
| `OP_SERVICE_ACCOUNT_TOKEN`    | 1Password CLIを[サービス アカウントで認証する](https://developer.1password.com/docs/service-accounts/use-with-1password-cli)ように構成します。                                                                                                                                                                     |
