Version bump
This commit is contained in:
1 parent
64cc0cc49f
commit
267754cde6
2 files changed
+1
-16
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ httpx==0.28.1
|
|||||||
idna==3.20
|
idna==3.20
|
||||||
lib-db-module==0.4.0
|
lib-db-module==0.4.0
|
||||||
lib-secret-manager==0.3.6
|
lib-secret-manager==0.3.6
|
||||||
lib-send-notifications==0.2.0
|
lib-send-notifications==0.2.1
|
||||||
lib-service-auth==0.1.0
|
lib-service-auth==0.1.0
|
||||||
msgspec==0.22.0
|
msgspec==0.22.0
|
||||||
mysql-connector-python==26.10.0
|
mysql-connector-python==26.10.0
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
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")
|
|
||||||
})
|
|
||||||
Reference in new issue
Block a user