> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/de/knowledge-base/how-to-articles/generate-manage-and-use-devolutions-server-api-keys.md).

# Devolutions Server-API-Schlüssel generieren, verwalten und verwenden

Dieser Artikel beschreibt, wie API-Schlüssel für Devolutions Server generiert und verwaltet werden sowie wie sie verwendet werden.

### Benutzern das Generieren von API-Schlüsseln erlauben

Die Verwendung von API-Schlüsseln erfordert eine Berechtigung, die global oder auf Benutzerebene erteilt werden kann. Um jedem Benutzer das Generieren und Verwenden von API-Schlüsseln zu erlauben, navigieren Sie zu ***Administration*** – ***System settings*** – ***Users*** und aktivieren Sie ***Allow API key*** unter der Überschrift ***Users***.

![](https://cdnweb.devolutions.net/docs/DVLS4243_2025_3.png)

Für bestimmte Benutzer navigieren Sie zu ***Administration*** – ***Users*** – ***Edit*** (Stiftsymbol) – ***Settings*** und wählen Sie ***Yes*** im Dropdown-Menü ***Allow API key***.

![](https://cdnweb.devolutions.net/docs/DVLS4244_2025_3.png)

{% hint style="info" %}
Die Berechtigung auf Benutzerebene überschreibt die globalen Einstellungen und gibt Administratoren eine granulare Kontrolle über die Verwendung von API-Schlüsseln.
{% endhint %}

### Verwaltung und Verwendung von API-Schlüsseln

Sobald die entsprechende Berechtigung erteilt wurde, können Benutzer API-Schlüssel generieren, indem sie auf ihr Profilbild klicken und dann ***Preferences*** – ***API keys*** – ***Generate API key*** auswählen.

{% hint style="warning" %}
Nach der Generierung wird ein API-Schlüssel nur einmal angezeigt. Halten Sie den Schlüssel geheim, rotieren Sie ihn regelmäßig und löschen Sie ihn, wenn er offengelegt wurde.
{% endhint %}

Die Schlüssel können direkt von Benutzern im Fenster ***Preferences*** – ***API keys*** ihres Profils und global von Administratoren unter ***Administration*** – ***Users' API keys*** verwaltet werden.

Um API-Schlüssel für Skripte und Integrationen zu verwenden, nutzen Sie das Präfix `Bearer` im Header `Authorization`:

```powershell
"Authorization" = "Bearer $YourAPIKey"
```

#### Siehe auch

* [API keys entry settings](https://docs.devolutions.net/rdm/de/knowledge-base/knowledge-base-articles/entry-settings/api-key)


---

# 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.devolutions.net/server/de/knowledge-base/how-to-articles/generate-manage-and-use-devolutions-server-api-keys.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.
