1
0
crypto-seller/crypto_seller/secrets_config.py

18 lines
408 B
Python
Raw Normal View History

"""Handles secrets for the `crypto_seller` system."""
2024-07-22 22:15:01 +00:00
from secret_loader import SecretLoader
2024-11-28 21:03:03 +00:00
__all__ = [
'KUCOIN_KEY',
'KUCOIN_PASS',
'KUCOIN_SECRET',
]
2024-12-02 16:44:05 +00:00
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