Gen. James Mattis (ret.) was officially sworn in as secretary of defense by Vice President Mike Pence on Jan. 27 at the Pentagon.