From 1880 to 1883 he served as the secretary of the Foreign Office. In this capacity, he worked as the chief clerk and secretary for Minister of Foreign Affairs William Lowthian Green and later Green's successor Walter Murray Gibson. After a period in the service of this new foreign minister, he was asked to resign by Gibson who appointed his friend Joseph S. Webb to the position instead. Iaukea returned to serve as a staff member of the king, fast becoming a favorite in the royal entourage. During Kalākaua's coronation ceremony in 1883, he played a large ceremonial role as the bearer of the Sword of State, while his wife served as one of the ladies-in-waiting to Queen Kapiʻolani.