Where are environment variables stored?

Hello,

I have a python snippet which uses credentials to access a DB. After searching Knime forums, I seem to understand that there is no integration on Python to access and read credentials stored as such in a Knime WF (either from a “Credentials Input” node or from setting “Workflow Credentials”). So I am basically trying to store the credentials as environment variables. I tried (a) to store them on my local machine, but the python snippet cannot access them, (b) to store them on the Conda environment used by Knime, but they still can’t be accessed.

I don’t know where the environment variables which are accessed by a WF are stored: are they specific to each Knime WF? Is there a way to access (and modify) them through the configuration menu, or using another way?

I am also not hell-bent on using environment variables to store these credentials that the python snippet needs to access. If there is a better way to achieve what I’m trying to do using another method, please feel free to let me know.

Thank you! :slight_smile: