feat: API-Key-Auth für Krea-Endpoints (Automation ohne User-Kontext)

- AuthMiddleware: X-Api-Key Header-Prüfung für /api/images/* Routen
- Neues Config-Feld KreaApiKey in appsettings.json
- Bei gültigem API-Key wird Request ohne Cookie-Auth durchgelassen
- Normaler User-Auth funktioniert weiterhin als Fallback
- ARCHITECTURE.md + ARCHITECTURE_QUICK.md aktualisiert
This commit is contained in:
Meleki committed 2026-03-06 15:00:11 +01:00
1 parent 1b9cc29421
commit 20f96f69d0
4 files changed
+30 -8

No files matched your search

+2 -1
View File
@@ -10,5 +10,6 @@
"MaxIterations": 100,
"PayloadLogging": false,
"PayloadLoggingGzip": false,
"KreaToken": ""
"KreaToken": "",
"KreaApiKey": ""
}