From 5041c34d4d972927c8cdeaf3d0ceda9b11b63eaf Mon Sep 17 00:00:00 2001 From: lukas Date: Thu, 19 Oct 2023 09:44:03 +0200 Subject: [PATCH] adding `CREODIAS_TOTP_SECRET` for 2FA (#79) --- eodal/config/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eodal/config/settings.py b/eodal/config/settings.py index eb2a340..444fc25 100644 --- a/eodal/config/settings.py +++ b/eodal/config/settings.py @@ -52,6 +52,11 @@ class Settings(BaseSettings): # define CREODIAS username and password CREODIAS_USER: str = "" CREODIAS_PASSWORD: str = "" + # define CREODIAS TOTP secret for 2FA + CREODIAS_TOTP_SECRET: str = "" + # CREODIAS API endpoint for downloading zipped datasets + CREODIAS_ZIPPER_URL: str = "https://zipper.creodias.eu/download" + # maximum number of records per request: 2000 (CREODIAS currently does not allow # more) CREODIAS_MAX_RECORDS: int = 2000