nytai commented on code in PR #20482:
URL: https://github.com/apache/superset/pull/20482#discussion_r912184192


##########
docs/docs/installation/configuring-superset.mdx:
##########
@@ -276,12 +276,22 @@ A current list of feature flags can be found in 
[RESOURCES/FEATURE_FLAGS.md](htt
 
 ### SECRET_KEY Rotation
 
-If you want to rotate the SECRET_KEY(change the existing secret key), follow 
the below steps.
-
-Add the new SECRET_KEY and PREVIOUS_SECRET_KEY to `superset_config.py`:
-
+To change the SECRET_KEY, first run the superset, because we need to access 
the database. After the superset running, create `superset_config.py` on 
temporary folder, for example `/tmp/superset_config.py` with following content

Review Comment:
   any reason to use a temp superset_config.py instead of the actual 
superset_config.py? 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to