"Acting Secretary Shanahan has proven over the last several months that he is beyond qualified to lead the Department of Defense, and he will continue to do an excellent job," Sanders tweeted.
He joined the Trump administration as deputy defense secretary in 2017. When Defense Secretary Jim Mattis abruptly resigned last year over Syria policy, Shanahan was immediately thrust into the top job.
"I spent the better part of 18 months, if you will, sitting in the right seat of the cockpit with Secretary Mattis in the left seat," Shanahan said in January at his first — and so far only — meeting with the press in the Pentagon briefing room, appropriately using an aircraft metaphor when asked how he was doing in his new job.
"So most of the material, the subject matter and the interactions are with people and subjects that are very, very familiar," he said.
Shanahan brings less government experience to the position than any defense secretary since the department's creation in 1947, with the exception of Neil McElroy, who served on the White House Conference on Education during the Eisenhower administration after a career at Procter & Gamble.
A congressional aide told NPR that Shanahan, during an office visit earlier this year, seemed overwhelmed by his new job of acting secretary.
The White House reached out to others for the top defense post, including Sen. Lindsey Graham, the South Carolina Republican, and retired Army Gen. Jack Keane. Both turned it down.
But recently, says a source close to the White House, Trump "got used to [Shanahan]."
Some Pentagon officials have said Shanahan is neither a forceful presence nor well-versed in foreign or defense policy. Shanahan himself suggested as much during his Senate confirmation hearing as deputy defense secretary in 2017.
"I believe my skill set strongly complements that of Secretary Mattis," Shanahan said. "He's a master strategist with deep military and foreign policy experience. ... I bring strong execution skills with a background in technology, development and business management."
As acting secretary, Shanahan has been a contrast to Mattis, who challenged the White House on policy decisions ranging from the use of torture to allowing transgender service members to remain on duty to keeping U.S. troops in Syria.
Trump used to note approvingly that Mattis' nickname was "Mad Dog." But over time their relationship cooled. In a 2018 interview, Trump even said Mattis was "sort of a Democrat."
Shanahan is very much in charge when it comes to program management, such as creation of the Space Force. More complex military issues, like North Korea, Syria and Afghanistan could fall to others, principally Secretary of State Mike Pompeo and national security adviser John Bolton.
During his time as deputy defense secretary, Shanahan had a hard time finding his footing and needed a lot of direction from Mattis, senior Pentagon aides say. They add that Shanahan was more involved in weapons systems and projects, almost like a project manager rather than a No. 2 Pentagon official who must step back and see the big picture.
At a recent hearing before the Senate Armed Services Committee to discuss the administration's proposed Pentagon budget, Shanahan seemed most comfortable talking about the way ahead for military programs, focusing on how the Pentagon will counter the growing military power of China and Russia.
"China's defense spending approaches that of the United States, when we take into account purchasing power and the portion of our budget going to military pay and benefits," Shanahan told senators.
"That, coupled with China's organized approach to steal foreign technology, has allowed China to modernize its missile, space and cyber capabilities, as well as project power far beyond its borders," he said. "Russia, for its part, continues to compete asymmetrically with the United States, modernizing and developing its own missile, space and cyber capabilities."
Shanahan went on to talk about the need for a space force, a pet project of the president's.
He told senators about the "vulnerability of space" and how the U.S. must be prepared to respond to any kind of attack. And he went on to talk like the engineer he is about the need for "large scale systems engineering" and an "architecture" to make sure the U.S. is dominant in the space realm.
"There will be a double-digit increase," Shanahan said, to Pentagon "investments in both space and cyber, modernization of our nuclear triad and missile defense capabilities."
Pentagon officials familiar with the internal debate say Shanahan clashed with Air Force Secretary Heather Wilson — who was also mentioned as a potential defense secretary candidate — over the Space Force, believing she was undermining the plan or was pushing to keep it within the Air Force as opposed to creating a separate military service.
Wilson recently announced her resignation to become president of the University of Texas, El Paso.
One potential hurdle for Shanahan at a Senate confirmation hearing could revolve around his previous job at Boeing and questions about whether as a defense official he was promoting Boeing products over rival Lockheed Martin. Some Republicans on the committee are reportedly concerned about his strong corporate ties.
The government watchdog group Citizens for Responsibility and Ethics in Washington has asked the Pentagon's inspector general to investigate the issue. It involves a Pentagon decision to buy more Boeing-made F-15X aircraft, even though the Air Force did not request them.
The complaint alleges that Shanahan "made numerous statements promoting his former employer Boeing and has disparaged the company's competitors before subordinates at the agency."
Shanahan's spokesman, Army Lt. Col. Joseph Buccino, brushed aside any concerns.
"Secretary Shanahan has at all times remained committed to complying with his ethics agreement, which screens Boeing matters to other DOD officials and ensures no conflict of interest."
A previous version of this story incorrectly spelled Sen. Lindsey Graham's first name as Lyndsey.
ARI SHAPIRO, HOST:
President Trump intends to nominate Patrick Shanahan to be his next defense secretary. Shanahan has held the job in an acting capacity since Jim Mattis resigned back in December. As NPR's Tom Bowman reports, Shanahan will be far different than Mattis - less involved in policy decisions, less a thorn in Trump's side and more focused on shaping the military to face threats from China and Russia.
TOM BOWMAN, BYLINE: When Shanahan first came to the Pentagon two years ago, he called Mattis a master strategist with wide experience in military and foreign policy. For his part, Shanahan said he would play to his own strengths.
(SOUNDBITE OF ARCHIVED RECORDING)
PATRICK SHANAHAN: I bring strong execution skills with a background in technology, development and business management.
BOWMAN: The former engineer spent nearly his entire adult life at The Boeing Company building airplanes. Now he'll be the principal military adviser to President Trump, overseeing more than a million active duty service members, ongoing military operations and any crisis that may pop up.
DAVID BARNO: That's a huge change. I'm not sure that he's actually felt the full weight of that quite yet.
BOWMAN: Dave Barno is a retired Army general and a defense analyst.
BARNO: He's certainly going to be close to President Trump. He's going to have Trump's confidence. But he's also going to have to find a way to stand for something for the Defense Department. And you know, there's going to have to be some red lines that he won't cross.
BOWMAN: At this point, there's no indication of any red lines for Shanahan. Mattis resigned over Trump's decision to remove all U.S. troops from Syria, a move the top general in the region said he would not have recommended. For his part, Shanahan has been silent on the issue even though that policy has now changed and some U.S. forces will remain.
Some analysts believe that Shanahan will continue playing to his strengths, technology development and business management side of the Pentagon, keeping an eye on projects and weapons systems and finding ways to counter a resurgent China and Russia. That makes sense to retired Army General Jack Keane.
JACK KEANE: Russia and China have caught up to the technological advantage that we had in most areas and in certain areas have blown past us.
BOWMAN: Like China and Russia's focus on everything from hypersonic missiles and cyberattacks to space operations and anti-submarine warfare.
KEANE: There's not a real appreciation for what that would mean if you had to fight a war with either one of them today.
BOWMAN: But if Shanahan is more focused on Pentagon programs, he will likely cede policy decisions - everything from North Korea to Iran - to the more hawkish members of the administration. Retired Admiral Jim Stavridis, in an email to NPR, said Shanahan's nomination will mean Secretary of State Mike Pompeo and national security adviser John Bolton will be what he calls the drivers of international security decisions. General Barno agrees.
BARNO: Bolton and Pompeo have very strong views, and they have the president's ear on these issues. And I think their voices are going to carry a tremendous amount of weight in the debates at the White House, perhaps more than Shanahan's will.
BOWMAN: Defense analyst Michael O'Hanlon says Shanahan has been under Mattis' wing, learning about the geostrategic issues of the day. But what concerns O'Hanlon is a possibility of a new and more dangerous challenge under Shanahan's watch, something far more dire than the Islamic State and involving North Korea, China or Russia.
MICHAEL O'HANLON: A new threat to South Korea or to Taiwan; or to Estonia or Latvia or Poland - the kind of thing that Russia or China could decide to do if they got more reckless, less risk averse. And so far, the rubber hasn't really hit the road on a new crisis, but it could.
BOWMAN: And with the steadying voice of Jim Mattis gone, says O'Hanlon, what's left is a team a little less tested by issues of war and peace.
Tom Bowman, NPR News, Washington. Transcript provided by NPR, Copyright NPR.