When I deploy to my own server, I read authentication secrets (e.g., for an API call) in environment variables that are loaded by the application. This way, I can safely use un-modified code that is in a public github repo. Is there a way to set an environment variable when using Streamlit Serving? If not, do you have a recommended approach?
Hi @mw0, welcome to the Streamlit community!
Secrets management on Streamlit sharing is a popular request, and we are currently developing the functionality. I don’t have the timeline for release, but it should be released in the near future.
Best,
Randy
Good to hear. I look forward to it.