Skip to main content

How to Update SECRET_KEY

Run the following snippet to create a Fernet Key and set SECRET_KEY to it.

poetry run python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"

At this time, changing SECRET_KEY after data sources have been added will cause connections to them to fail. Secret rotation is on the roadmap.