You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/03/01 13:03:13 UTC

[GitHub] [superset] villebro edited a comment on issue #18785: cannot view Dashboards or Charts After Overriding SECRET_KEY with new value.

villebro edited a comment on issue #18785:
URL: https://github.com/apache/superset/issues/18785#issuecomment-1047637465


   Did you migrate the `SECRET_KEY` as instructed in `UPDATING.md` as per #17984?
   
   > Default Flask SECRET_KEY has changed for security reasons. You should always override with your own secret. Set PREVIOUS_SECRET_KEY (ex: `PREVIOUS_SECRET_KEY = "\2\1thisismyscretkey\1\2\e\y\y\h"`) with your previous key and use superset re-encrypt-secrets to rotate you current secrets
   
   In other words, adding this to your `superset_config.py (the `PREVIOUS_SECRET_KEY` really is a literal string, _not_ an example!):
   
   ```python
   PREVIOUS_SECRET_KEY = "\2\1thisismyscretkey\1\2\e\y\y\h" 
   SECRET_KEY = "<my new secret key>"
   ```
   
   and then running `superset re-encrypt-secrets`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org