---
title: "Self-Hosting"
description: "Betreiben Sie XID in Ihrem eigenen Cloudflare-Konto mit Workers, D1, KV, R2, Queues und Durable Objects."
locale: "de"
---

> Documentation Index
> Fetch the locale documentation index at: https://xid.dev/de/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-Hosting

## Erforderliche Bindings

| Bindung | Zweck |
| --- | --- |
| `DB` | Relationaler D1-Speicher. |
| `CACHE` | KV-Cache für Discovery, Schlüssel und Branding. |
| `STORAGE` | R2-Objektspeicher für Ressourcen und Exporte. |
| `EMAIL_QUEUE` | Warteschlange für transaktionale E-Mails. |
| `AUDIT_QUEUE` | Warteschlange für Audit-Ereignisse. |
| `SESSION_REVOCATION` | Durable Object für den Sitzungswiderrufsstatus. |

## Erforderliche Geheimnisse

| Geheimnis | Zweck |
| --- | --- |
| `KEK` | Envelope-Verschlüsselung für Instanz-Signaturschlüssel. |
| `PEPPER` | Serverseitiger Pepper für Passwort- und Token-Hashing. |
| `BOOTSTRAP_TOKEN` | Schützt die Instanzinitialisierung in Self-Hosting-Deployments. |

## Deployment-Prüfungen

Prüfen Sie nach der Bereitstellung den Systemzustand, OIDC-Discovery, JWKS, die Hosted Auth-Konfiguration und mindestens eine Autorisierungsweiterleitung vom Instanz-Aussteller.

```shell
curl https://xid.dev/v1/health
curl https://xid.dev/.well-known/openid-configuration
curl https://xid.dev/jwks
curl https://xid.dev/auth/config
```

Source: https://xid.dev/de/self-hosting/index.mdx
