@classmethod
def from_config_section(cls, section):
    """Creates a credentials tuple from
        the respective config section.
        """
    host = section['host']
    port = section.getint('port')
    passwd = section.get('passwd')
    return cls(host, port, passwd)
