Skip to main content

MLFlow plugin that adds extra headers required for Cloudflare access to all outgoing MLFlow requests

Project description

MLFlow Cloudflare Auth Request Header plugin

This package provides a custom MLflow plugin that allows users to pass extra headers when authenticating to a MLflow server that is protected by Cloudflare.

  • mlflow-cloudflare-header-plugin": uses CloudflareRequestHeaderProvider class that is used to specify the custom request headers CF-Access-Client-Id and CF-Access-Client-Secret required for a user to authenticate to the MLflow server when using the MLflow Python API.
  • pyproject.toml file defines the entrypoint that tells MLflow to automatically register the custom request header provider to the registry when this package is installed.

Usage

Install this package using pip and then use MLflow as normal.

pip install mlflow-cloudflare-header-plugin

The plugin expects Cloudflare ID and Secret to be defined as env variables

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlflow_cloudflare_header_plugin-1.0.0.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page