1
0
crypto-seller/crypto_seller/secrets_config.py
Jon Michael Aanes 59cb798f7d
Some checks failed
Python Ruff Code Quality / ruff (push) Failing after 22s
Run Python tests (through Pytest) / Test (push) Failing after 30s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 28s
Add env_key_prefix
2024-12-02 17:44:05 +01:00

18 lines
408 B
Python

"""Handles secrets for the `crypto_seller` system."""
from secret_loader import SecretLoader
__all__ = [
'KUCOIN_KEY',
'KUCOIN_PASS',
'KUCOIN_SECRET',
]
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