Two former governors-general joined Governor-General Sam Mostyn at the ceremony.