Skip to main content

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

Project description

keycloak-mlflow-token-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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

mlflow_oauth_keycloak_auth-0.0.1-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for mlflow_oauth_keycloak_auth-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 98a90855ae41e9de59703ec473050016162aa975f294ed617948e971996eefc3
MD5 cbfbae9c37a6a998d0d9858981e70e8a
BLAKE2b-256 53a0c701026b330ca8d227f72be4be4e9061fdcaa3d3b601633d9071809f79cd

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