> 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/de/realmjoin-agent/realmjoin-client/local-admin-password-solution-laps/keyvault.md). Agents can also search and read this documentation through its [MCP server](https://docs.realmjoin.com/~gitbook/mcp).

# KeyVault

Erstellen Sie einen Azure Key Vault und eine Zugriffsrichtlinie, um die von RealmJoin LAPS generierten Kennwörter lokaler Konten sicher zu speichern.

Cloud-Anwendungen und -Dienste verwenden kryptografische Schlüssel und Geheimnisse, um Informationen zu schützen. Azure Key Vault schützt diese Schlüssel und Geheimnisse. Wenn Sie Key Vault verwenden, können Sie Authentifizierungsschlüssel, Storage Account-Schlüssel, Datenverschlüsselungsschlüssel, .pfx-Dateien und Kennwörter mithilfe von Schlüsseln verschlüsseln, die durch Hardware-Sicherheitsmodule geschützt sind.

## Key Vault erstellen

Die folgende Tabelle zeigt die Schritte zur Erstellung von Azure Key Vault und zur Konfiguration der Zugriffsrichtlinie für RealmJoin LAPS:

| Aufgabe                                                                                                                                                                                                                                                                                                                                                                                 | Bild                                                                                                                                                                                                                                                      |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1. Öffnen [Azure Portal](https://portal.azure.com)                                                                                                                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                                           |
| 2. Beginnen Sie mit **eine Ressource erstellen**                                                                                                                                                                                                                                                                                                                                        | ![](https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FIXKOOIliqE3Kxs5cd1N5%2Fimage.png?alt=media\&token=608b2c0e-6df6-4f43-9dcf-ddb1b8954eba)                                       |
| 3. Geben Sie ein **Key Vault** in das Suchfeld                                                                                                                                                                                                                                                                                                                                          | ![](https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FaCVEJXsrIA0QXik9U52T%2Fimage.png?alt=media\&token=0cd2bac4-e17d-4d5f-9612-4e074782c8c5)                                       |
| 4. Klicken Sie auf der Detailseite auf **Erstellen**                                                                                                                                                                                                                                                                                                                                    |                                                                                                                                                                                                                                                           |
| <p>5. Füllen Sie die erforderlichen Felder auf der Registerkarte „Basic“ aus.<br><br>Bitte stellen Sie sicher, dass Sie für die KeyVault-URL ein eindeutiges Benennungsschema verwenden.<br><br>Zum Beispiel: <em>rj-\[Tenant]-\[service]</em></p><p>Hinweis: Dies ist ein DNS-Name, also weltweit eindeutig<br><br>Drücken Sie <strong>Weiter</strong>.</p>                            | ![](https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FlZ1NGF0QA2tudFFLarFX%2Fimage.png?alt=media\&token=5fb9a2ed-e492-4840-bbca-157568b5901c)                                       |
| <p>6. Zugriffskonfiguration<br><br>Bitte wählen Sie <strong>„Vault-Zugriffsrichtlinie“</strong> für das Berechtigungsmodell.</p>                                                                                                                                                                                                                                                        | <img src="https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2F3Uw8zlepxTFlZ1IMVaL8%2Fimage.png?alt=media&amp;token=4313ba65-f0b5-4658-a9b1-9b5e16d55209" alt="" data-size="original"> |
| <p>7. Erstellen Sie eine Zugriffsrichtlinie für RealmJoin<br><br>Drücken Sie <em><strong>Erstellen</strong></em> und wählen Sie <strong>„Schlüssel-, Geheimnis- und Zertifikatsverwaltung“</strong> als Vorlage.<br><br>Zusätzlich hinzufügen <em><strong>„Alle auswählen“</strong></em> für <strong>Kryptografische Vorgänge.</strong><br><br>Drücken Sie <strong>Weiter</strong>.</p> | <img src="https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2Fr5bOENNN6X97UeR9GKPf%2Fimage.png?alt=media&amp;token=72df2f9e-432d-4860-87e9-81b3ad52b96e" alt="" data-size="original"> |
| <p>8. Fügen Sie „RealmJoin“ als Prinzipal hinzu<br><br>Drücken Sie <strong>Weiter</strong>.</p>                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                           |
| 9. Klicken Sie auf **Erstellen**                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                           |
| 10. Überprüfen Sie Ihre Einstellungen und Konfigurationen und klicken Sie auf **Überprüfen + Erstellen**                                                                                                                                                                                                                                                                                |                                                                                                                                                                                                                                                           |
| Warten Sie auf die erfolgreiche Bereitstellung                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |
| 12. Klicken Sie auf **Zur Ressource wechseln**                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                           |
| 13. Gehen Sie schließlich zu **Übersicht** und teilen Sie die **DNS-Name** mit dem [RealmJoin Support](mailto:support@realmjoin.com)                                                                                                                                                                                                                                                    | ![](https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FbZ6vZZXjMNHfwlumh8HQ%2Fimage.png?alt=media\&token=00c4b87a-63c7-4019-bc20-4fcf2316e46a)                                       |

## Key Vault-Speicherung von Geheimnissen

RealmJoin wird das Geheimnis nicht in einem proprietären Speicher ablegen, sondern stattdessen ein **Azure Key Vault-Geheimnis** um es sicher und nachvollziehbar zu speichern. Die KeyVault-API ist hier dokumentiert:

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

Der Eintrag in KeyVault wird mit der Azure-Geräte-ID als Schlüssel und dem reinen GUID-Wert als Geheimniswert hinzugefügt. Siehe folgendes Beispiel:

![](https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FcCIa696ogL29y9hJ9F1r%2Fimage.png?alt=media\&token=81ee6a2e-368a-4590-aaba-e3c64f6e25b7)

![](https://2298793958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MkrcM7cKOpXKri1kVrh%2Fuploads%2FdDif4wpuLTvhjkLSTbae%2Fimage.png?alt=media\&token=51e97aca-983d-4498-aeaa-c3e53fc03e8a)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/de/realmjoin-agent/realmjoin-client/local-admin-password-solution-laps/keyvault.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
