New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] What is SECRET_KEY used in superset for? #7190
Comments
hi @anshbansal! SECRET_KEY is inherited from Flask itself, it's generally used for anything that requires encryption |
@enricoberti Can you give some examples what superset uses it for? Just so that I have an idea. I am guessing credentials for the databases? passwords of users? are emails of users encrypted? |
@anshbansal I believe the link @enricoberti provided summarizes it pretty well -- pretty much everything mentioned there directly applies to Superset:
|
@anshbansal Superset uses it for database/druid passwords, flask app builder uses it for JWTs and hashing passwords (through werkzeug.security.generate_password_hash), flask-wtforms uses it for CSRF token. It's a global secret key used throughout the ecosystem. |
Make sure these boxes are checked before submitting your issue - thank you!
The documentation at https://superset.incubator.apache.org/installation.html says "SECRET_KEY, to a long random string". It does not explain at all what is this being used for. Can someone please share what is this being used for so that I understand the level of secrecy we need to maintain for the entered value?
The text was updated successfully, but these errors were encountered: