MLflow Authentication
Experimental Feature
This feature is still experimental and may be enhanced in a future release without warning.
MLflow Authentication provides secure access control for experiments and registered models through HTTP basic authentication. Once enabled, users must authenticate before accessing any resources on the Tracking Server.
Quick Start
Installation & Setup
Install MLflow with authentication dependencies:
pip install mlflow[auth]
Set your server secret key and start the authenticated server:
export MLFLOW_FLASK_SERVER_SECRET_KEY="my-secret-key"
mlflow server --app-name basic-auth
Important
The secret key must be consistent across multiple servers to prevent validation errors.