diff --git a/docs/docs/installation/configuring-superset.mdx b/docs/docs/installation/configuring-superset.mdx index f15cb1c6a84e6..f99a05ae858ae 100644 --- a/docs/docs/installation/configuring-superset.mdx +++ b/docs/docs/installation/configuring-superset.mdx @@ -252,10 +252,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`