Skip to main content

Package for dealing with JWT tokens from Keycloak in a MLflow - oauth2-proxy setup.

Project description

mlflow-oauth-keycloak-auth

The purpose of this package is to enable the use of the MLflow "fluent" tracking API with upstream oauth2-proxy.

The configuration is done exclusively via environment variables. All of the following variables are required and can be found in the provided .env.example file.

Variable Value Purpose
KMTA_CLIENT_ID Keycloak Client_ID authentication
KMTA_CLIENT_SECRET Keycloak Client_Secret authentication
KMTA_USERNAME Your Keycloak Username authentication
KMTA_PASSWORD Your Keycloak User Password authentication
KMTA_TOKEN_URI Your Keycloak User Password authentication
KMTA_USERINFO_URI Your Keycloak User Password check token

The KMTA_TOKEN_URI and KMTA_USERINFO_URI are the token_endpoint and userinfo_endpoint found when accessing <keycloak_address>/realms/<realm>/.well-known/openid-configuration.

This package expects a file named .env, but can be customized by creating a custom config.

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_oauth_keycloak_auth-0.0.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mlflow_oauth_keycloak_auth-0.0.2-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mlflow_oauth_keycloak_auth-0.0.2.tar.gz.

File metadata

File hashes

Hashes for mlflow_oauth_keycloak_auth-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d639b1044bd7c0111c1a1ee01fc987e7cd609efc9a4fa4230ce8a408806fe69a
MD5 90ef0afc723dd7eb895d3c4cff177aae
BLAKE2b-256 b1e556bba86c7b4ef61125a2f5eb52fd10300dcfb1b3b0aa66911c7dc5489a6f

See more details on using hashes here.

File details

Details for the file mlflow_oauth_keycloak_auth-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mlflow_oauth_keycloak_auth-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d645b76bf32a623c14e110c466f2063b7dbb1856e2ab0b416bcaeedd62b136a4
MD5 74dbf94980b645d9aa3d16b8e52e7776
BLAKE2b-256 1f1052b6a9ca3dd8110cf1637246787f08cc6dc8ece683f422690d3ab8f79d13

See more details on using hashes here.

Supported by

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