> 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/privileged-access-manager/cloud-security/keeper-encrypter.md).

# Keeper Encrypter

Keeper Encrypterは、クラウドセキュリティ連携でKeeperのゼロ知識アーキテクチャを維持するための自己ホスト型サービスです。CNAPPの検出結果と是正ステータスを、お客様環境内の安全な経路で送受信できます。

### Keeper Encrypterが必要な理由

CNAPPプロバイダからKeeperへ検出結果を送り、管理者が対応したあとKeeperから是正ステータスを返す必要があります。この送受信はKeeper Encrypterで処理されるため、お客様の復号処理をKeeperクラウドに移す必要はありません。

### 仕組み

* お客様環境内でのDockerコンテナとしての稼働
* CNAPPプロバイダからのWebhookトラフィックの受信
* Keeperに保存されたお客様管理の256ビットキーによる連携ペイロードの暗号化

認証にはセットアップ時に生成したデバイス構成を、CNAPP構成の取得にはKeeperシークレットマネージャーを使用します。連携はKeeperのゼロ知識モデルに沿ったままです。

## セットアップ

{% stepper %}
{% step %}

### 256ビット暗号化キーの生成

OpenSSLでキーを生成します。

```
openssl rand -base64 32
```

{% endstep %}

{% step %}

### ボルトにキーを保存

* ボルトに共有フォルダを作成します。
* そのフォルダに新しい **\[セキュアノート]** レコードを作成します。
* 前の手順で生成したBase64キーをレコードに貼り付けます。
  {% endstep %}

{% step %}

### アプリケーションとゲートウェイの作成

* 新しいKeeperシークレットマネージャーアプリケーションを作成します。
* 暗号化キーを保存した共有フォルダを選択します。
* **\[編集可能]** 権限を付与します。
* 新しいゲートウェイを作成します。
* **\[Linux]** 構成を選択します。
* **\[構成タイプ]** では **\[Base64]** を選択します。
* 生成された `DEVICE_CONFIG` の値を保存します。
  {% endstep %}

{% step %}

### Dockerイメージの取得

```
docker pull keeper/encrypter
```

{% endstep %}

{% step %}

### `.env` ファイルの作成

Keeper Encrypterのルートフォルダに `.env` ファイルを作成します。

`DEVICE_CONFIG` に前の手順で保存した値を設定します。残りの値は、プロバイダ固有のセットアップ時に入力します。

```
BACKEND_WEBHOOK_URL=https://connect.keepersecurity.com/api/device/cnapp/issue
NETWORK_UID=
PAYLOAD_TYPE=
KSM_CNAPP_CONFIG_RECORD_ID=
DEVICE_CONFIG=
CONNECT_URL=https://connect.keepersecurity.com
PORT=
```

{% endstep %}

{% step %}

### プロバイダセットアップの完了

[Wizの構成手順](/keeperpam/jp/privileged-access-manager/cloud-security/wiz-integration.md)に進みます。
{% endstep %}
{% endstepper %}


---

# 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/privileged-access-manager/cloud-security/keeper-encrypter.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.
