> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/realmjoin-agent/realmjoin-client/local-admin-password-solution-laps/keyvault.md).

# KeyVault

クラウド アプリケーションとサービスは、情報を安全に保つために暗号化キーとシークレットを使用します。Azure Key Vault は、これらのキーとシークレットを保護します。Key Vault を使用すると、ハードウェア セキュリティ モジュールで保護されたキーを使って、認証キー、ストレージ アカウント キー、データ暗号化キー、.pfx ファイル、およびパスワードを暗号化できます。

## Key Vault を作成

次の表は、Azure Key Vault の作成と RealmJoin LAPS 用のアクセス ポリシーの構成手順を示しています:

| タスク                                                                                                                                                                                                                                                                                    | 画像                                                                                      |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| 1. 開く [Azure Portal](https://portal.azure.com)                                                                                                                                                                                                                                         |                                                                                         |
| 2. 次から開始します **リソースを作成**                                                                                                                                                                                                                                                                | ![](/files/f390602b6c2d4a3e52c1017ceb51e912eae89e1f)                                    |
| 3. 次を入力します **Key Vault** 検索フィールドに                                                                                                                                                                                                                                                      | ![](/files/ca88e600f249a6191b3e2e16ef1f578140290282)                                    |
| 4. 詳細ページで次をクリックします **作成**                                                                                                                                                                                                                                                              |                                                                                         |
| <p>5. 基本タブで必要なフィールドを入力します。<br><br>KeyVault URL には、必ず一意の命名規則を使用してください。<br><br>例: <em>rj-\[tenant]-\[service]</em></p><p>注意: これは DNS 名なので、グローバルで一意である必要があります。<br><br>次を押します <strong>次へ</strong>.</p>                                                                                     | ![](/files/17ba3edff625e9e78ccca42c1ab0b5dd5c8a8794)                                    |
| <p>6. アクセス構成<br><br>次を選択してください <strong>"Vault access policy"</strong> を権限モデルとして。</p>                                                                                                                                                                                                   | <img src="/files/41d1688e713693d1d48bb1ee4cb59cfc70832d5a" alt="" data-size="original"> |
| <p>7. RealmJoin 用のアクセス ポリシーを作成します。<br><br>次を押します <em><strong>作成</strong></em> そして次を選択します <strong>"Key, Secret & Certificate Management"</strong> をテンプレートとして。<br><br>追加で次を追加します <em><strong>"Select all"</strong></em> を <strong>暗号化操作。</strong><br><br>次を押します <strong>次へ</strong>.</p> | <img src="/files/9da1fce59a049708701e6a5a53bea14c25e6e67d" alt="" data-size="original"> |
| <p>8. "RealmJoin" をプリンシパルとして追加します。<br><br>次を押します <strong>次へ</strong>.</p>                                                                                                                                                                                                              |                                                                                         |
| 9. 次をクリックします **作成**                                                                                                                                                                                                                                                                    |                                                                                         |
| 10. 設定と構成を確認し、次をクリックします **確認 + 作成**                                                                                                                                                                                                                                                    |                                                                                         |
| 11. デプロイが正常に完了するまで待ちます                                                                                                                                                                                                                                                                 |                                                                                         |
| 12. 次をクリックします **リソースに移動**                                                                                                                                                                                                                                                              |                                                                                         |
| 13. 最後に、次へ移動し **概要** 、次を共有します **DNS 名** を [RealmJoin サポート](mailto:support@realmjoin.com)                                                                                                                                                                                               | ![](/files/b448c4fb62e7f2168d56e4ec8887f889609c9fc8)                                    |

## KeyVault でのシークレットの保存

RealmJoin はシークレットを独自のストレージには保存せず、代わりに次を作成します **Azure Key Vault シークレット** を安全かつ監査可能な方法で保存します。KeyVault API のドキュメントはここにあります:

<https://docs.microsoft.com/en-us/rest/api/keyvault/secrets/set-secret/set-secret>

KeyVault のエントリは、Azure デバイス ID をキーとして、平文の GUID をシークレット値として追加されます。次の例を参照してください:

![](/files/36a04425d4ee02e9ce7db81be78f81d34d5630e8)

![](/files/8f4552a327da91865e1c00e28f818a49d8f8becb)


---

# 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.realmjoin.com/ja/realmjoin-agent/realmjoin-client/local-admin-password-solution-laps/keyvault.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.
