> 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/keeper-connection-manager/jp/advanced-configuration/guacamole.properties/encrypted-json-configuration-properties.md).

# 暗号化されたJSONの設定プロパティ

暗号化されたJSON認証の詳細設定プロパティ

{% hint style="info" %}
ここに記載したプロパティは、暗号化されたJSON認証を使用している場合にのみ適用されます。暗号化されたJSON認証への対応は、[`kcm-guacamole-auth-json` パッケージを使用してインストール](/keeper-connection-manager/jp/using-keeper-connection-manager/dynamic-connections.md)します。[keeper/guacamoleのDockerイメージ](/keeper-connection-manager/jp/installation/docker-compose-install/keeper-guacamole.md)を使用する場合、暗号化されたJSON認証への対応は、環境変数を使用して設定します。
{% endhint %}

### JSON共有秘密鍵 <a href="#id-.encryptedjsonconfigurationpropertiesv1.x-sharedjsonsecretkey" id="id-.encryptedjsonconfigurationpropertiesv1.x-sharedjsonsecretkey"></a>

共有秘密鍵は、JSONデータを生成するシステムによるJSONの暗号化と署名、およびGuacamoleサーバーによる受信データの検証と復号化に使用されます。**この鍵は128ビットで、32桁の16進数で指定する必要があります。**

| プロパティ名            | 説明                                                                                                        |
| ----------------- | --------------------------------------------------------------------------------------------------------- |
| `json-secret-key` | 認証のためにGuacamoleに送信されるJSONの暗号化と署名に使用される128ビットの秘密鍵 (32桁の16進数形式)。受信したJSONは、この鍵を使用して暗号化および署名されていない限り受け入れられません |

この鍵は、予測不能である限り、基本的に何でも指定できます。このような鍵を生成する簡単な方法は、パスフレーズを `echo` し、`md5sum` ユーティリティに渡すことです。これは、OpenSSL自体がパスフレーズから128ビット鍵を生成する際に用いている手法です。以下は、その例です。

```
$ echo -n "ThisIsATest" | md5sum
4c0b569e4c96df157eee1b65dd0e4d41 -
$
```

### 送信元ネットワークの制限 <a href="#id-.encryptedjsonconfigurationpropertiesv1.x-sourcenetworkrestrictions" id="id-.encryptedjsonconfigurationpropertiesv1.x-sourcenetworkrestrictions"></a>

デフォルトでは、受信した暗号化されたJSONは、有効で、秘密鍵による正しい署名がある限り受け入れられます。さらに、信頼できるIPアドレスやCIDRサブネットのコンマ区切りリストに一致するマシンからのみ、暗号化されたJSONを受け入れるよう制限することもできます。

| プロパティ名                  | 説明                                                                                               |
| ----------------------- | ------------------------------------------------------------------------------------------------ |
| `json-trusted-networks` | 暗号化されたJSONを使用した認証を許可するIPアドレスやCIDRサブネットのコンマ区切りリスト。デフォルトでは、暗号化されたJSONはどのアドレスやサブネットからでも制限なく受け入れられます |


---

# 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/keeper-connection-manager/jp/advanced-configuration/guacamole.properties/encrypted-json-configuration-properties.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.
