1
0
crypto-seller/crypto_seller/secrets_config.py
Jon Michael Aanes 92c7f3e541
All checks were successful
Test Python / Test (push) Successful in 27s
Output and secrets are now configurable
2024-09-04 20:04:37 +02:00

14 lines
393 B
Python

"""Handles secrets for the `crypto_seller` system."""
from secret_loader import SecretLoader
__all__ = ['KUCOIN_KEY', 'KUCOIN_SECRET', 'KUCOIN_PASS']
secret_loader = SecretLoader(ENV_KEY_PREFIX='CS')
KUCOIN_KEY = secret_loader.load_or_fail('KUCOIN_KEY')
KUCOIN_SECRET = secret_loader.load_or_fail('KUCOIN_SECRET')
KUCOIN_PASS = secret_loader.load_or_fail('KUCOIN_PASS')
del secret_loader