2024-07-07 22:08:52 +00:00
|
|
|
from secret_loader import SecretLoader
|
2024-04-16 22:38:57 +00:00
|
|
|
|
2024-11-26 22:34:53 +00:00
|
|
|
secrets = SecretLoader(env_key_prefix='CF_PD')
|
|
|
|
|
2024-04-16 22:38:57 +00:00
|
|
|
|
|
|
|
# Crunchyroll
|
2024-11-26 22:34:53 +00:00
|
|
|
CRUNCHYROLL_DEVICE_ID = secrets.load('CRUNCHYROLL_DEVICE_ID')
|
|
|
|
CRUNCHYROLL_AUTH = secrets.load('CRUNCHYROLL_AUTH')
|
2024-04-16 22:38:57 +00:00
|
|
|
|
|
|
|
# FFXIV
|
2024-11-26 22:34:53 +00:00
|
|
|
FFXIV_CHARACTER_ID = secrets.load('FFXIV_CHARACTER_ID')
|
2024-04-16 22:38:57 +00:00
|
|
|
|
2024-04-28 22:01:11 +00:00
|
|
|
# Playstation
|
2024-11-26 22:34:53 +00:00
|
|
|
PLAYSTATION_PSN_ID = secrets.load('PLAYSTATION_PSN_ID')
|
|
|
|
|
2024-04-28 22:01:11 +00:00
|
|
|
|
2024-04-16 22:48:21 +00:00
|
|
|
# Partisia Blockchain
|
2024-11-26 22:34:53 +00:00
|
|
|
def pbc_account_address():
|
|
|
|
return secrets.load_or_fail('PBC_ACCOUNT_ADDRESS')
|
|
|
|
|
2024-04-16 22:48:21 +00:00
|
|
|
|
2024-09-01 14:55:45 +00:00
|
|
|
# Steam
|
2024-11-26 22:34:53 +00:00
|
|
|
def steam_username():
|
|
|
|
return secrets.load_or_fail('STEAM_USERNAME')
|
|
|
|
|
2024-09-01 14:55:45 +00:00
|
|
|
|
2024-05-16 22:24:01 +00:00
|
|
|
# Kucoin
|
2024-11-26 22:34:53 +00:00
|
|
|
def kucoin_key():
|
|
|
|
return secrets.load_or_fail('KUCOIN_KEY')
|
|
|
|
|
|
|
|
|
|
|
|
def kucoin_secret():
|
|
|
|
return secrets.load_or_fail('KUCOIN_SECRET')
|
|
|
|
|
|
|
|
|
|
|
|
def kucoin_pass():
|
|
|
|
return secrets.load_or_fail('KUCOIN_PASS')
|
|
|
|
|
2024-05-16 22:24:01 +00:00
|
|
|
|
2024-09-08 18:20:09 +00:00
|
|
|
# Kraken
|
2024-11-26 22:34:53 +00:00
|
|
|
def kraken_key():
|
|
|
|
return secrets.load_or_fail('KRAKEN_KEY')
|
|
|
|
|
|
|
|
|
|
|
|
def kraken_secret():
|
|
|
|
return secrets.load_or_fail('KRAKEN_SECRET')
|
|
|
|
|
2024-05-17 23:05:02 +00:00
|
|
|
|
2024-06-06 21:49:52 +00:00
|
|
|
# Home Assistant
|
2024-11-26 22:34:53 +00:00
|
|
|
HOME_ASSISTANT_ROOT = secrets.load('HOME_ASSISTANT_ROOT')
|
|
|
|
HOME_ASSISTANT_LLAK = secrets.load('HOME_ASSISTANT_LLAK')
|
2024-06-06 21:49:52 +00:00
|
|
|
|
2024-04-16 22:38:57 +00:00
|
|
|
# Email configuration
|
2024-11-26 22:34:53 +00:00
|
|
|
MAILGUN_API_KEY = secrets.load('MAILGUN_API_KEY')
|
|
|
|
MAILGUN_DOMAIN = secrets.load('MAILGUN_DOMAIN')
|
|
|
|
MAILGUN_RECIPIENT = secrets.load('MAILGUN_RECIPIENT')
|
2024-09-08 18:20:09 +00:00
|
|
|
|
|
|
|
# Jellyfin
|
2024-11-26 22:34:53 +00:00
|
|
|
JELLYFIN_URL = secrets.load('JELLYFIN_URL')
|
|
|
|
JELLYFIN_USERNAME = secrets.load('JELLYFIN_USERNAME')
|
|
|
|
JELLYFIN_PASSWORD = secrets.load('JELLYFIN_PASSWORD')
|
2024-10-10 22:53:39 +00:00
|
|
|
|
|
|
|
# Withings
|
2024-11-26 22:34:53 +00:00
|
|
|
WITHINGS_CLIENTID = secrets.load('WITHINGS_CLIENTID')
|
|
|
|
WITHINGS_SECRET = secrets.load('WITHINGS_SECRET')
|
|
|
|
WITHINGS_CALLBACK_URI = secrets.load('WITHINGS_CALLBACK_URI')
|