Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Using python-dotenv with Dash-based app hosted on Heroku

$
0
0

@arpitr07 wrote:

I’ve got a Dash-based application. This app makes an API call to source data, which in turn is plotted on a dashboard. In order to make this API call, I have an API access token.

For obvious reasons, I’d want to keep the API-Key secret.

This resource tells me how to use python-dotenv to do exactly that with a Flask or Django app.

It says nothing about a Dash-app though. I know, Dash uses Flask in the background but the steps suggested in the above resource do not help me.

Any ideas on this would be appreciated.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images