Former Secretary of State Rex Tillerson on Monday denied that he undermined President Trump, after former U.N. Ambassador Nikki Haley said in a new book that Tillerson told her he resisted Trump to “save the country.”

“During my service to our country as the Secretary of State, at no time did I, nor to my direct knowledge did anyone else serving along with me, take any actions to undermine the President,” Tillerson said in a statement to The Washington Post.

NIKKI HALEY REVEALS TILLERSON, KELLY PRIVATELY DISCUSSED RESISTING TRUMP: 'IT WAS OFFENSIVE'

“My conversations with the President in the privacy of the Oval Office were always candid, frank, and my recommendations straightforward. Once the President made a decision, we at the State Department undertook our best efforts to implement that decision,” Tillerson said. “Ambassador Haley was rarely a participant in my many meetings and is not in a position to know what I may or may not have said to the President. I continue to be proud of my service as our country’s 69th Secretary of State.”

Haley told "CBS Evening News" anchor Norah O’Donnell that, as she described in her new book, “With All Due Respect,” both Tillerson and former White House Chief of Staff John Kelly told her they resisted Trumps out of necessity.

Haley said that the two men “confided in me that when they resisted the president, they weren't being insubordinate, they were trying to save the country” and how “Tillerson went on to tell me the reason he resisted the president's decisions was because, if he didn't, people would die."

Haley, however, was not impressed.

“It should've been, 'Go tell the president what your differences are, and quit if you don't like what he's doing,'” Haley told O’Donnell. “But to undermine a president is really a very dangerous thing. And it goes against the Constitution, and it goes against what the American people want. And it was offensive."

Kelly later issued a statement to CBS pushing back on Haley’s remarks: “If by resistance and stalling she means putting a staff process in place … to ensure the (president) knew all the pros and cons of what policy decision he might be contemplating so he could make an informed decision, then guilty as charged.”

In the book, Haley takes aim at Tillerson on a number of fronts, calling him “exhausting” to deal with.

“He was dismissive of my opinions, and he didn’t make any secret about the fact that he believed his views carried more weight,” she said, per the Post.

NIKKI HALEY SAYS TRUMP DOES NOT DESERVE 'DEATH PENALTY' IMPEACHMENT PROCEEDINGS

Haley is being watched closely by political observers for a hint as to her next move since leaving her post at the U.N. last year.

She has shot down “false rumors” that she is in the running to replace Vice President Pence on the Republican 2020 ticket. That was after she muted speculation she would run against her old boss as a primary challenger.

Last month she was featured as a “special guest” at the Trump Victory Committee’s Fall Retreat, and said that Trump’s foreign policy record as one “every American should be proud of.”

CLICK HERE FOR THE FOX NEWS APP

As she promotes the new book, she is giving Trump her backing in his push against House Democrats’ push to impeach him over his dealings with Ukraine.

"No. On what?” she said when asked by CBS if Trump would be impeached. “You're going to impeach a president for asking for a favor that didn't happen & giving money & it wasn't withheld? I don't know what you would impeach him on."

Fox News' Ronn Blitzer contributed to this report.