The mayor shall appoint a city clerk with the advice and consent by the city council. Such appointment and council vote shall occur upon a vacancy in such position. The duties of the city clerk shall be: (1) To keep an accurate record and minutes of all meetings of the city council, to keep and affix the city seal as required to all official documents of the city, to attest the mayor's execution of official documents, and to certify under the city's seal such documents as may require certification; (2) To perform such other duties as the city council may establish and as required by the city charter, city ordinance, or general state law.