:hammer: add HTTPBasicAuth for supporting MLFlow authentication
What does this PR do?
This PR adds support for the authentication features introduced in MLflow 2.12 to the mlflow-export-import tool. It includes handling authentication tokens and necessary configurations to work with authenticated MLflow servers.
Why is this PR needed?
With the introduction of authentication in MLflow 2.12, it is essential for tools like mlflow-export-import to support these features. This addition will enable users to use the tool in secure environments where authentication is required, thus enhancing its usability and versatility.
What are the changes made in this PR?
- Added support for passing authentication tokens when using
mlflow-export-import. - Updated documentation to guide users on how to configure and use authentication with the tool.
- Ensured backward compatibility for users not using the authentication feature.
How to test the changes?
- Set up an MLflow server with authentication enabled. (over 2.12.1)
- Configure the
mlflow-export-importtool with the necessary authentication tokens. - Perform export and import operations to verify that authentication is handled correctly.
Related Issues Closes #192
Can you guys check it for me? @amesar @smurching @dbczumar @mingyu89
Are you guys there?
@amesar @smurching @dbczumar @mingyu89
ping @amesar @smurching @dbczumar @mingyu89
Plus 1