class_docstr: Provides a hostname and optional authentication for talking to an MLflow tracking server.
  :param host: Hostname (e.g., http://localhost:5000) to MLflow server. Required.
  :param username: Username to use with Basic authentication when talking to server.
      If this is specified, password must also be specified.
  :param password: Password to use with Basic authentication when talking to server.
      If this is specified, username must also be specified.
  :param token: Token to use with Bearer authentication when talking to server.
      If provided, user/password authentication will be ignored.
  :param aws_sigv4: If true, we will create a signature V4 to be added for any outgoing request.
      Keys for signing the request can be passed via ENV variables,
      or will be fetched via boto3 session.
  :param auth: If set, the auth will be added for any outgoing request.
      Keys for signing the request can be passed via ENV variables,
  :param ignore_tls_verification: 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.
      If this is set to true ``server_cert_path`` must not be set.
  :param client_cert_path: Path to ssl client cert file (.pem).
      Sets the cert param of the ``requests.request``
      function (see https://requests.readthedocs.io/en/master/api/).
  :param server_cert_path: Path to a CA bundle to use.
      Sets the verify param of the ``requests.request``
      function (see https://requests.readthedocs.io/en/master/api/).
      If this is set ``ignore_tls_verification`` must be false.
code: def __init__(
      self,
      host,
      username=None,
      password=None,
      token=None,
      aws_sigv4=False,
      auth=None,
      ignore_tls_verification=False,
      client_cert_path=None,
      server_cert_path=None,
  ):
      if not host:
          raise MlflowException(
              message="host is a required parameter for MlflowHostCreds",
              error_code=INVALID_PARAMETER_VALUE,
          )
      if ignore_tls_verification and (server_cert_path is not None):
          raise MlflowException(
              message=(
                  "When 'ignore_tls_verification' is true then 'server_cert_path' "
                  "must not be set! This error may have occurred because the "
                  "'MLFLOW_TRACKING_INSECURE_TLS' and 'MLFLOW_TRACKING_SERVER_CERT_PATH' "
                  "environment variables are both set - only one of these environment "
                  "variables may be set."
              ),
              error_code=INVALID_PARAMETER_VALUE,
          )
      self.host = host
      self.username = username
      self.password = password
      self.token = token
      self.aws_sigv4 = aws_sigv4
      self.auth = auth
      self.ignore_tls_verification = ignore_tls_verification
      self.client_cert_path = client_cert_path
      self.server_cert_path = server_cert_path
  
imports: import base64
  import json
  import requests
  from mlflow.environment_variables import MLFLOW_HTTP_REQUEST_BACKOFF_FACTOR, MLFLOW_HTTP_REQUEST_BACKOFF_JITTER, MLFLOW_HTTP_REQUEST_MAX_RETRIES, MLFLOW_HTTP_REQUEST_TIMEOUT
  from mlflow.exceptions import InvalidUrlException, MlflowException, RestException, get_error_code
  from mlflow.protos import databricks_pb2
  from mlflow.protos.databricks_pb2 import ENDPOINT_NOT_FOUND, INVALID_PARAMETER_VALUE, ErrorCode
  from mlflow.utils.proto_json_utils import parse_dict
  from mlflow.utils.request_utils import _TRANSIENT_FAILURE_RESPONSE_CODES, _get_http_response_with_retries, augmented_raise_for_status, cloud_storage_http_request
  from mlflow.utils.string_utils import strip_suffix
label_desc: Use image node_id 1 to create a new MlflowHostCreds object  with example: obj = MlflowHostCreds(host, username, password, token, aws_sigv4, auth, ignore_tls_verification, client_cert_path, server_cert_path)