Handling sensitive data like credentials before deploying the web app

I have google cloud project secret_credentials.json file for authentication process in my web app and alos .streamlit/secrets.toml file how should I handle both files before deploying the web app to google cloud Engine using docker

Hi @mr_one1,

Thanks for posting!

You can store your secret_credentials.json and .streamlit/secrets.toml content in Google Cloud’s Secret Manager. Also make sure not to build your docker image with the secrets included for security reasons.

1 Like

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