def list_clear_rc_passwords(key, database=None, rmq=None, partners=[]):
    """
    Creates a list of cleartext passwords from the available data.
    This is related to Ripple Connect.
    The output sequence is: [database, rabbitmq, external_credentials...]
    """
    output =[]

    # Database password
    output.append({'key': key, 'password': database})

    # RabbitMQ
    output.append({'key': key,'password': rmq})

    # External credentials
    for v in partners:
        output.append({'key': key,'password': v['password']})

    return output