Package org.mlflow.tracking.creds
Interface MlflowHostCreds
- All Known Implementing Classes:
BasicMlflowHostCreds
public interface MlflowHostCreds
Provides a hostname and optional authentication for talking to an MLflow server.
-
Method Summary
Modifier and Type Method Description java.lang.String
getHost()
Hostname (e.g., http://localhost:5000) to MLflow server.java.lang.String
getPassword()
Password to use with Basic authentication when talking to server.java.lang.String
getToken()
Token to use with Bearer authentication when talking to server.java.lang.String
getUsername()
Username to use with Basic authentication when talking to server.boolean
shouldIgnoreTlsVerification()
If true, we will not verify the server's hostname or TLS certificate.
-
Method Details
-
getHost
java.lang.String getHost()Hostname (e.g., http://localhost:5000) to MLflow server. -
getUsername
java.lang.String getUsername()Username to use with Basic authentication when talking to server. If this is specified, password must also be specified. -
getPassword
java.lang.String getPassword()Password to use with Basic authentication when talking to server. If this is specified, username must also be specified. -
getToken
java.lang.String getToken()Token to use with Bearer authentication when talking to server. If provided, user/password authentication will be ignored. -
shouldIgnoreTlsVerification
boolean shouldIgnoreTlsVerification()If true, we will not verify the server's hostname or TLS certificate. This is useful for certain testing situations, but should never be true in production.
-