Nikki Haley, the US ambassador to the United Nations, turned down an offer from ​President Trump to be secretary of state, saying she thought ​”​he ​could find someone better.”

“I’m very aware of when things are right and when they are not,” Haley told CNN in an interview published online Thursday. “I just thought he could find someone better.”

After turning down the job during a visit with then-President-elect Trump at his Manhattan high-rise, ​Haley, the former governor of South Carolina, thought she would return to the Palmetto State for the final two years of her term.

​Then, a few days later, she got a call from Reince Priebus, ​who would serve as Trump’s chief of staff for several months, about the US ambassador’s post.

​But Haley, who supported ​Sen. Marco Rubio in the state’s primary election and later threw her backing behind Sen. Ted Cruz in the 2016 presidential race, said she had some conditions and told Trump she wanted to be in the cabinet and part of the national security team.

“I said, ‘I am a policy girl, I want to be part of the decision-making process,’” she told Trump, according to the CNN interview. “He said, ‘Done.’ And I said, ‘I don’t want to be a wallflower or a talking head. I want to be able to speak my mind.’ He said, ‘That is why I asked you to do this.’ In all honesty, I didn’t think they were going to take me up on everything I asked for. And they gave me all that. So how do you turn that down?”

Trump eventually named Rex Tillerson, former CEO of Exxon Mobil, as his secretary of state.

Since being confirmed by the Senate in January, Haley has been the outspoken voice of the Trump administration in the United Nations, especially in the face of North Korea’s escalating military threat.

On Monday, she urged the UN Security Council to add another round of punishing sanctions against President Kim Jong Un’s regime after it successfully detonated a nuclear device Sunday.

Saying “enough is enough,” Haley said Kim was “begging for war” and called on the council to impose the “strongest possible measures” against Pyongyang.