File size: 433 Bytes
6bff5d9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | """Fernet-encrypted credential storage for user-registered DB connections.
Receives the working implementation from the previous
src/utils/db_credential_encryption.py during the cleanup phase.
Key: settings.dataeyond__db__credential__key (Fernet, kept out of source).
"""
def encrypt_credential(plaintext: str) -> str:
raise NotImplementedError
def decrypt_credential(ciphertext: str) -> str:
raise NotImplementedError
|