diff --git a/requirements.txt b/requirements.txt index 42373f3..d877a17 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ httpx==0.28.1 idna==3.20 lib-db-module==0.4.0 lib-secret-manager==0.3.6 -lib-send-notifications==0.2.0 +lib-send-notifications==0.2.1 lib-service-auth==0.1.0 msgspec==0.22.0 mysql-connector-python==26.10.0 diff --git a/src/auth_config.py b/src/auth_config.py deleted file mode 100644 index 07592b9..0000000 --- a/src/auth_config.py +++ /dev/null @@ -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") -}) \ No newline at end of file