def get_section_path(section):
    """Return a list with keys to access the section from root

    :param section: A Section
    :type section: Section
    :returns: list of strings in the order to access the given section from root
    :raises: None
    """
    keys = []
    p = section
    for i in range(section.depth):
        keys.insert(0, p.name)
        p = p.parent
    return keys