Hello! <@!594948449095647256> Could you help me wi...
# beginners-need-help
l
Hello! @User Could you help me with this one? I'm trying to use environment variables in mlflow.yml. I need to set
MLFLOW_TRACKING_INSECURE_TLS
to
true
. How am I supposed to declare it? It works only if I export in the terminal and executes
kedro run
g
Hi, I think that kedro suggest having a .env file to export environment variables (no matter if they are mlflow related or not) EDIT: See https://kedro.readthedocs.io/en/latest/09_development/01_set_up_vscode.html?highlight=environment%20variables#debugging
That said, you can "hack" ``kedro-mlflow`` to export automatically this environment variable by setting it in your credentials
Copy code
yaml
#credentials.yml
mlflow_credentials:
  MLFLOW_TRACKING_INSECURE_TLS: True
Copy code
yaml
#mlflow.yml
server: 
  credentials: mlflow_credentials
This will work, but this is not really the "official" way to do it
l
ok, thanks, ill try this way tomorrow and send u the feedback