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 SummaryAll 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- 
getHostjava.lang.String getHost() Hostname (e.g., http://localhost:5000) to MLflow server.
 - 
getUsernamejava.lang.String getUsername() Username to use with Basic authentication when talking to server. If this is specified, password must also be specified.
 - 
getPasswordjava.lang.String getPassword() Password to use with Basic authentication when talking to server. If this is specified, username must also be specified.
 - 
getTokenjava.lang.String getToken() Token to use with Bearer authentication when talking to server. If provided, user/password authentication will be ignored.
 - 
shouldIgnoreTlsVerificationboolean 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.
 
- 
 
-