Black Lives Matter. Please consider donating to Black Girls Code today.

Questions about dcc.Store

Sorry for the potentially noob question here.

I have an app where a secret key is passed around. This key is created at the beginning of each session and is new each new session.

Is dcc.Store a safe way to pass the key around the app during a session? I.e. will the key only stay local to that single user regardless of choice of dcc.Store ‘local,’ ‘session,’ or ‘memory’?

Is there a choice of those 3 that keeps the key safest? Or is there a standard way to deal with sensitive data in Dash apps other than dcc.Store?

Trying to figure out the best approach for passing around sensitive data within the app. (This data has to be persisted in the app session as it will need to be used on various actions and changes every session. And it has to be secure!)