from typing import Dict


def build_ldap_filter(kwargs: Dict[str, str]) -> str:
    """
    Builds up an LDAP filter from kwargs

    :param kwargs: Dict of attribute name, value pairs
    :return: LDAP search filter representation of the dict
    """
    search_filter = ""
    for arg in kwargs:
        search_filter = f"{search_filter}({arg}={kwargs[arg]})"
    if len(kwargs) > 1:
        search_filter = f"(&{search_filter})"
    return search_filter