The mayor may appoint a city clerk, subject to confirmation by majority vote of the city council, to keep a journal of the proceedings of the city council; to maintain in a safe place all records and documents pertaining to the affairs of the city; and to perform such duties as may be required by law or ordinance or as the mayor or city manager may direct.