data-platform-hq / mlflow-oidc-auth

MLFlow Tracking Server OIDC Auth plugin
https://pypi.org/project/mlflow-oidc-auth/
Apache License 2.0
22 stars 8 forks source link

How to create experiment and log runs from python #35

Closed karandip closed 1 month ago

karandip commented 1 month ago

Can someone please provide an example code of how to use the tracking URI with OIDC authentication or access key and create experiment or log runs on MLflow ?

karandip commented 1 month ago

Use the access key as MLFLOW_TRACKING_PASSWORD. Also, for my case using KEYCLOAK OIDC, "email id of the user" was the MLFLOW_TRACKING_USERNAME.