def METHOD_NAME(self, endpoint: str):  #pylint: disable=no-self-use
    """Reads the minio credentials.
    Args:
        endpoint : minio endpoint url
    Raises:
        ValueError : if minio access key and secret keys are missing
    Returns:
        minio_config : a dict for minio configuration.
    """
    if "MINIO_ACCESS_KEY" not in os.environ:
        raise ValueError("Environment variable MINIO_ACCESS_KEY not found")
    if "MINIO_SECRET_KEY" not in os.environ:
        raise ValueError("Environment variable MINIO_SECRET_KEY not found")
    minio_config = {
        "HOST": endpoint,
        "ACCESS_KEY": os.environ["MINIO_ACCESS_KEY"],
        "SECRET_KEY": os.environ["MINIO_SECRET_KEY"],
    }
    return minio_config