> 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).

# KeyVault

Cloud-Anwendungen und -Dienste verwenden kryptografische Schlüssel und Geheimnisse, um Informationen sicher zu halten. 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 mit Schlüsseln verschlüsseln, die durch Hardware-Sicherheitsmodule geschützt sind.

## KeyVault erstellen

Die folgende Tabelle zeigt die Schritte zum Erstellen von Azure KeyVault und die Konfiguration der Zugriffsrichtlinie für RealmJoin LAPS:

| Aufgabe                                                                                                                                                                                                                                                                                                                                                                               | Bild                                                                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| 1. Öffnen Sie [Azure Portal](https://portal.azure.com)                                                                                                                                                                                                                                                                                                                                |                                                                                         |
| 2. Beginnen Sie mit **Eine Ressource erstellen**                                                                                                                                                                                                                                                                                                                                      | ![](/files/3cdfce4b56fe734035a5b282ae660018ac8d1ada)                                    |
| 3. Geben Sie ein **Key Vault** in das Suchfeld                                                                                                                                                                                                                                                                                                                                        | ![](/files/22aeb80450e609702fd1bd74e90a694148627803)                                    |
| 4. Klicken Sie auf der Detailseite auf **Erstellen**                                                                                                                                                                                                                                                                                                                                  |                                                                                         |
| <p>5. Füllen Sie die erforderlichen Felder auf der Basic-Registerkarte aus.<br><br>Bitte stellen Sie sicher, dass Sie ein eindeutiges Namensschema für die KeyVault-URL verwenden.<br><br>Zum Beispiel: <em>rj-\[tenant]-\[service]</em></p><p>Hinweis: Dies ist ein DNS-Name, also global eindeutig<br><br>Drücken Sie <strong>Weiter</strong>.</p>                                  | ![](/files/7a7ae5278dbb800a71f36dccc99ee04aeeff0300)                                    |
| <p>6. Zugriffskonfiguration<br><br>Bitte wählen Sie <strong>"Vault-Zugriffsrichtlinie"</strong> für das Berechtigungsmodell.</p>                                                                                                                                                                                                                                                      | <img src="/files/4458abcf473dbadb592217999799b2909a237498" 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- & 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="/files/24a907fb086a8a03ee9c014522393b3b935c4ea9" 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**                                                                                                                                                                                                                                                                              |                                                                                         |
| 11. Warten Sie auf die erfolgreiche Bereitstellung                                                                                                                                                                                                                                                                                                                                    |                                                                                         |
| 12. Klicken Sie auf **Zur Ressource wechseln**                                                                                                                                                                                                                                                                                                                                        |                                                                                         |
| 13. Wechseln Sie schließlich zu **Überblick** und teilen Sie den **DNS-Name** mit dem [RealmJoin Support](mailto:support@realmjoin.com)                                                                                                                                                                                                                                               | ![](/files/cd06bcf47b75c3274bb0ae52ca77842ea30572c8)                                    |

## KeyVault-Speicher für Geheimnisse

RealmJoin speichert das Geheimnis nicht in einem proprietären Speicher, sondern erstellt stattdessen einen **Azure KeyVault-Geheimnis** um es auf sichere und nachvollziehbare Weise 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 der reinen GUID als Geheimniswert hinzugefügt. Siehe das folgende Beispiel:

![](/files/c7ce314c1ff5fe636f1f5cd27119be41917ee944)

![](/files/70170154696eb2801f03568cac4e6d2fcd3f5651)


---

# 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/de/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.
