Defense secretaries have previously traveled with presidents on overseas trips, to provide advice and represent the U.S. military.