Whoops
Generate openapi.json / generate-docs (push) Failing after 34s

This commit is contained in:
florian committed 2026-11-12 09:20:48 +01:00
1 parent 267754cde6
commit 1d4ea2fa41
1 file changed
+15
+15
View File
@@ -0,0 +1,15 @@
from enum import StrEnum
from service_auth import KeySource, ServiceAuth
class Caller(StrEnum):
GATEWAY = "gateway"
SCHEDULER = "scheduler"
ADMIN = "admin"
auth = ServiceAuth({
Caller.GATEWAY: KeySource("GATEWAY_KEY", "/etc/secrets/gateway_key"),
Caller.SCHEDULER: KeySource("SCHEDULER_KEY", "/etc/secrets/scheduler_key"),
Caller.ADMIN: KeySource("ADMIN_KEY","/etc/secrets/admin_key")
})