> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/de/andere/faqs/key-vault-rbac-migration.md).

# Key Vault RBAC-Migration

Microsoft stellt Azure Key Vault auf Azure RBAC als Standard-Zugriffsmodell für alle neuen Key Vaults ab API-Version um **2026‑02‑01**. Mehr erfahren [hier](https://learn.microsoft.com/en-us/azure/key-vault/general/access-control-default?tabs=azure-cli).

Obwohl RBAC nicht zwingend erforderlich ist und **bestehende Key Vaults, die Zugriffsrichtlinien verwenden, können unverändert weiter betrieben werden,** Mandanten, die nach dem Upgrade auf die neue API einen neuen Key Vault erstellen, erhalten standardmäßig RBAC, sofern nicht ausdrücklich Zugriffsrichtlinien konfiguriert werden.

Unabhängig davon kann es sinnvoll sein, zu RBAC zu migrieren, da es ein einheitlicheres und skalierbareres Berechtigungsmodell bietet, das mit Microsoft Entra ID abgestimmt ist und Ihre Konfiguration zukunftssicher macht, falls Microsoft Key Vault-Zugriffsrichtlinien abkündigt.

## Migrationsleitfaden

{% hint style="warning" %}
Planen Sie Ausfallzeiten ein, bevor Sie fortfahren. SCEPman kann keine Zertifikate ausstellen oder überprüfen, bis die Berechtigungen erfolgreich migriert wurden.
{% endhint %}

{% stepper %}
{% step %}

### Navigieren Sie zu Ihrem SCEPman Key Vault

Navigieren Sie zu Azure > Key Vaults > *Ihr SCEPman Key Vault*

<figure><img src="https://2075553437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2F9bKH9aF9Q6kydSEieT2V%2Fimage.png?alt=media&amp;token=23dcdccb-c2c5-4514-8372-ab21f4aacaee" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Überprüfen Sie Ihre vorhandenen Zugriffsrichtlinien

Navigieren Sie zu **Zugriffsrichtlinien** und dokumentieren Sie die Zugriffsrichtlinien Ihres SCEPman unter **Anwendung***.* Die SCEPman-Zugriffsrichtlinien sollten denselben Namen haben wie Ihr SCEPman App Service (und alle geografisch redundanten SCEPman App Services).

*Benutzer* Zugriffsrichtlinien müssen nicht migriert werden, da sie die Funktionalität von SCEPman nicht beeinträchtigen. Für Benutzer, die weiterhin Zugriff benötigen, sollten ihre Zugriffsrichtlinien anhand der folgenden Tabelle überprüft und zu Azure-Rollen migriert werden: <https://learn.microsoft.com/en-us/azure/key-vault/general/rbac-migration?tabs=cli#access-policy-templates-to-azure-roles-mapping>

<figure><img src="https://2075553437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2F2UbFjoOgavF5Igu7miQm%2Fimage.png?alt=media&amp;token=960b3d8d-bfe6-4b21-a333-bd76f1cec7f1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Ändern Sie das Berechtigungsmodell

Ändern Sie das Berechtigungsmodell von **Vault-Zugriffsrichtlinie** zu **Azure Role-Based Access Control**

<figure><img src="https://2075553437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FfyT4DqTi3pkfZxT1IgjI%2Fimage.png?alt=media&amp;token=089ef0fd-77f7-46bc-8658-bff619006329" alt=""><figcaption></figcaption></figure>

Durch Drücken von **Anwenden** wird Ihre SCEPman-Instanz vom Key Vault trennen, bis Azure-Rollen zugewiesen sind. Frühere Zugriffsrichtlinien werden ebenfalls entfernt.
{% endstep %}

{% step %}

### Weisen Sie Azure-Rollen zu

Navigieren Sie zu Zugriffskontrolle (IAM) und weisen Sie die folgenden Rollen der **verwalteten Identität** Ihres SCEPman App Service (und aller geografisch redundanten SCEPman App Services):

* Key Vault Certificates Officer
* Key Vault Crypto Officer
* Key Vault Secrets User

<figure><img src="https://2075553437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FFfkpt5imnAJVZrgVlbCt%2Fimage.png?alt=media&amp;token=afdda1b3-6353-4f2c-90eb-d99c20c4d9a9" alt=""><figcaption></figcaption></figure>

Rollen müssen nacheinander zugewiesen werden, jedoch können mehreren Identitäten einer Rolle zugewiesen werden.

<figure><img src="https://2075553437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FzHWUGaIvBJDlZLB1aNIV%2Fimage.png?alt=media&amp;token=db111569-53c0-4c79-9b76-3d176b304733" alt=""><figcaption></figcaption></figure>

Die verwaltete Identität des Certificate Master (mit -cm im Namen) **unterstützt nicht** benötigen Zugriff auf den Key Vault.
{% endstep %}

{% step %}

### Überprüfen Sie die Key Vault-Verbindung

Starten Sie Ihren SCEPman App Service neu, navigieren Sie dann zu Ihrer SCEPman-Startseite und stellen Sie sicher, dass Ihr Key Vault verbunden ist.

<figure><img src="https://2075553437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2F3a2szozK7DVq7CGIvzYL%2Fimage.png?alt=media&amp;token=144cf4b0-e176-461c-8327-6836010d5d59" alt=""><figcaption></figcaption></figure>
{% 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.scepman.com/de/andere/faqs/key-vault-rbac-migration.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.
