Deploying using private github repository

I have an app I want to deploy on the cloud however, I have a challenge since it uses several API keys which I wouldn’t want to display publicly.

Any work around on this? can I deploy the app using a private repo or any other method provided the API keys won’t be public?

1 Like

Don’t commit keys to a repository, private or not.

1 Like

Use Streamlit’s secret management : Secrets management - Streamlit Docs. You will need to modify your code accordingly to read the API keys from the secrets vault.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.