The Senate confirmed Kristi Noem as homeland security secretary on Saturday by a 59-34 vote, putting the former South Dakota governor in charge of a sprawling agency that is essential to national security and President Donald Trump's plans to clamp down on illegal immigration.