Added admin route to update all names

This commit is contained in:
florian committed 2026-11-04 18:37:57 +01:00
1 parent d05bf55dd4
commit f64f613ab4
2 files changed
+35 -2

No files matched your search

+2
View File
@@ -6,8 +6,10 @@ 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")
})