Skip to content

MLFlow Service Connector - Ability to authenticate with MLFLOW_TRACKING_TOKEN OS env varable #23877

@hakan-77

Description

@hakan-77

Issue: MLFlow connector currently does not support any form of authentication and non-secured MLFLow deployments are rare for production deployments.

Solution: Ability to define MLFLOW_TRACKING_TOKEN OS env variable before connecting MLFLow. see details in docs

Implementation: I see the below code returns an MlflowClient instance. Defining (or updating) MLFLOW_TRACKING_TOKEN OS env variable one line above this would work since MLFLow support changing token on the fly to access multiple MLFlow deployments. (see details: mlflow/mlflow#8823)

Current code:

Note: This change might also resolve #15405 since (to my knowledge) Databricks hosted MLFlow also support using MLFLOW_TRACKING_TOKEN. As well as other hosted MLFlow solutions from AWS Sagemaker etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Release Backlog 🚧

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions