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.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

mlflow_token-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file mlflow_token-0.1.0.tar.gz.

File metadata

  • Download URL: mlflow_token-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for mlflow_token-0.1.0.tar.gz
Algorithm Hash digest
SHA256 824a56cbbc43118511e00252f59222afeeb29569426c82947664cdc0a28b1121
MD5 f4236867eb4c740bb89d4a5e6d241bf9
BLAKE2b-256 b92c21460b86693a997a15df738d7d63c313f6a49b9b3c4e777192e8a0084ee0

See more details on using hashes here.

File details

Details for the file mlflow_token-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mlflow_token-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for mlflow_token-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e4c9ab400c3fa5e83cbe342f5c477a89aef92e8527ceb88a8d3e007f7d8bdbd
MD5 f0e6a3a0e80765cac0dae6105b4c2405
BLAKE2b-256 b0d08753aaadd7ec29f491a27af5200f77ba3a88d8f04149f2cdab14d3b0accf

See more details on using hashes here.

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