Former Boston Mayor Martin J. Walsh is headed to Washington D.C. after being confirmed labor secretary by the U.S. Senate.