Skip to main content

Command line tool to retreive access token for mlflow instance

Project description

mlflow-token

Obtain an access token for an MLFlow instance deployed behind OAuth2-proxy and keycloak.

This script will use your current setting of MLFLOW_TRACKING_URI to look for the keycloak redirect from it's OAuth2-proxy. From there it will start an OAuth device flow to allow you to obtain a valid access token. This token will be set in your environment's MLFLOW_TRACKING_TOKEN variable for use by the MLFlow client libraries.

You can also specify the --echo command line argument to get the tool to print a command for assigning the token to the environment variable.

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_token-0.1.2a1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

mlflow_token-0.1.2a1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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