def METHOD_NAME(self):
    protect_keys = [
        "password", "qpid_password", "rabbit_password", "ssl_key_password",
        "ldap_dns_password", "neutron_admin_password", "host_password",
        "admin_password", "admin_token", "ca_password", "transport_url"
    ]
    connection_keys = ["connection"]
    self.apply_regex_sub(
        r"(^\s*(%s)\s*=\s*)(.*)" % "|".join(protect_keys),
        r"\1*********"
    )
    self.apply_regex_sub(
        r"(^\s*(%s)\s*=\s*(.*)://(\w*):)(.*)(@(.*))" %
        "|".join(connection_keys),
        r"\1*********\6"
    )
    # obfuscate LDAP plaintext passwords in domain config dir
    self.do_path_regex_sub(
        self.domain_config_dir,
        r"(^\s*(%s)\s*=\s*)(.*)" % "|".join(protect_keys),
        r"\1********"
    )