LLM_PROVIDER_ENC_KEY

This commit is contained in:
2026-07-14 09:06:48 +08:00
parent 9250254dec
commit 03c7c30067
3 changed files with 8 additions and 0 deletions
+6
View File
@@ -8,3 +8,9 @@ POSTGRES_USER=device_cloud
POSTGRES_PASSWORD=change-me-database-password
CLOUD_API_PORT=8001
# Fernet key protecting database-managed LLM Provider API keys. Generate once
# and preserve it with the database backups (rotating it makes stored keys
# undecryptable):
# python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
CLOUD_LLM_PROVIDER_ENCRYPTION_KEY=change-me-generate-a-fernet-key