Skip to content

Commit

Permalink
adding CREODIAS_TOTP_SECRET for 2FA (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasValentin committed Oct 19, 2023
1 parent 5b468f9 commit 5041c34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eodal/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5041c34

Please sign in to comment.