diff --git a/docs/docs/installation/configuring-superset.mdx b/docs/docs/installation/configuring-superset.mdx index 97038e84c0625..86bddda180f30 100644 --- a/docs/docs/installation/configuring-superset.mdx +++ b/docs/docs/installation/configuring-superset.mdx @@ -251,10 +251,10 @@ A current list of feature flags can be found in [RESOURCES/FEATURE_FLAGS.md](htt 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 +Add the new SECRET_KEY and PREVIOUS_SECRET_KEY to `superset_config.py`: ```python PREVIOUS_SECRET_KEY = 'CURRENT_SECRET_KEY' # The default SECRET_KEY for deployment is '21thisismyscretkey12eyyh' SECRET_KEY = 'YOUR_OWN_RANDOM_GENERATED_SECRET_KEY' ``` -# Then run `superset re-encrypt-secrets` +Then run `superset re-encrypt-secrets`