fix: refuse to start with default secret on non debug envs (#23186)

This commit is contained in:
Daniel Vaz Gaspar
2023-03-01 11:21:12 +00:00
committed by GitHub
parent 7196e87833
commit b180319bbf
5 changed files with 23 additions and 5 deletions

View File

@@ -23,8 +23,8 @@ SUPERSET_WEBSERVER_PORT = 8088
# Your App secret key will be used for securely signing the session cookie
# and encrypting sensitive information on the database
# Make sure you are changing this key for your deployment with a strong key.
# You can generate a strong key using `openssl rand -base64 42`
# You can generate a strong key using `openssl rand -base64 42`.
# Alternatively you can set it with `SUPERSET_SECRET_KEY` environment variable.
SECRET_KEY = 'YOUR_OWN_RANDOM_GENERATED_SECRET_KEY'
# The SQLAlchemy connection string to your database backend