Connect data sources
Your app probably connects to some data source, and it's important to make sure that connection is secure. That data might just be a csv that you have in your GitHub repo, but in many cases it'll be a private data source you connect with via API, on a cloud service, or maybe in your company's VPN.
Streamlit has one primary way of securely connecting to private data:
- Secrets management: securely store secrets like API keys and TOML files that you can then access as environment variables in your app.
We also have a series of guides on how to connect to:
Google Cloud Storage
Microsoft SQL Server
Private Google Sheet
Public Google Sheet
Trouble connecting to data? Need a different way to securely connect? Reach out on our Community forum to chat through options!