Package org.mlflow.tracking.creds
Interface MlflowHostCreds
-
- All Known Implementing Classes:
BasicMlflowHostCreds,DatabricksMlflowHostCreds
public interface MlflowHostCredsProvides a hostname and optional authentication for talking to an MLflow server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHost()Hostname (e.g., http://localhost:5000) to MLflow server.java.lang.StringgetPassword()Password to use with Basic authentication when talking to server.java.lang.StringgetToken()Token to use with Bearer authentication when talking to server.java.lang.StringgetUsername()Username to use with Basic authentication when talking to server.booleanshouldIgnoreTlsVerification()If true, we will not verify the server's hostname or TLS certificate.
-
-
-
Method Detail
-
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.
-
-