Add secrets to your Streamlit apps

Does anyone have any more insight here. If the secret changes, the app can re-rerun but streamlit does not capture the new secret causing the app not to work. Why doesn’t streamlit reboot itself and or how can we automate the reboot so it does capture a changed in secrets.