Files
eveAI/scripts/generate_api_key_secret.py
2024-08-06 14:56:12 +02:00

6 lines
268 B
Python

from common.utils.simple_encryption import SimpleEncryption
if __name__ == "__main__":
key = SimpleEncryption.generate_key()
print(f"Generated encryption key: {key}")
print("Set this as your ENCRYPTION_KEY environment variable or in your config.py file.")