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
Release history Release notifications | RSS feed
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.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for mlflow_token-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a499171eae3a2cfa6c5a3e9d0e025709d4e2a911b42b3b0aab64e8ce311d659 |
|
MD5 | 1aad1019e33ee46eb89ce7a20ed2462b |
|
BLAKE2b-256 | 2e9060f52d238fd10b93a0f53b798f8f3ed9c0114a248610609696f47b87077e |