While there is still no official word from the Trump team on who will take the national security adviser spot vacated by Michael Flynn and rejected by Navy Vice Adm. Robert Harward, a senior administration official tells NBC News President Trump has nailed it down to a final five.

Trump has appointed retired Army Gen. Keith Kellogg as acting adviser — but whether the president brings him on permanently or taps someone else like Flynn, who was known for his maverick temperament, remains to be seen.

However Trump tweeted Friday morning that Kellogg, “who I have known for a long time, is very much in play for NSA — as are three others.”

A decision will likely come before the end of the week or possibly sooner, a senior official told NBC News.

Related: Flynn Resigns as National Security Adviser Over Talks With Russia

Ultimately, the post will require someone who can serve as a key confidant to the president on sensitive security issues.

“You are the first to see the President in the morning when the President shows up for work in the Oval Office and the last person to see the President before he or she makes any major foreign policy or national security decision,” Stephen Hadley, a former national security adviser to President George W. Bush — and a potential contender for the post — wrote last year about the position in a paper for the Scrowcroft Institute.

Related: Who Knew What About Flynn and Russia — and When?

Here are the potential picks for Trump’s national security adviser, based on what senior administration officials told NBC News:

Retired Lt. Gen. Keith Kellogg

Now the acting national security adviser, Kellogg was a top policy adviser for Trump during his campaign and was among the original contenders for the post before it eventually went to Flynn.

The 72-year-old retired lieutenant general comes with a top-notch resume: He’s an Army veteran who did two tours in Vietnam and earned numerous commendations, including the Bronze Star. He was also a former commander of the 82nd Airborne Division and chief operating officer of the Western coalition in Baghdad after the U.S.-led invasion of Iraq in 2003.

Image: Retired Lt. Gen. Keith Kellogg

Image: Retired Lt. Gen. Keith Kellogg

Former CIA Director David Petraeus

Petraeus, 64, a retired four-star general and once America’s top official in the Iraq and Afghanistan wars, was floated as a possible candidate for secretary of state under Trump.

But Petraeus’ past misconduct, for which he later pleaded guilty in 2015 for mishandling classified information — and was sentenced to two years’ probation — put him out of favor among Washington Republicans. Petraeus had to step down as CIA director after it became known in 2012 that he shared classified information with a biographer who was also his mistress.

Trump, however, has offered a more sympathetic ear to Petraeus. The then-president-elect tweeted in November that he was “very impressed” with him after the two had a one-hour meeting at Trump Tower.

Image: Retired US Army Gen. David Petraeus arrives at a Senate Armed Services Committee hearing on Capitol Hill Sept. 22, 2015 in Washington, D.C.

Image: Retired US Army Gen. David Petraeus arrives at a Senate Armed Services Committee hearing on Capitol Hill Sept. 22, 2015 in Washington, D.C.

Retired Army General Keith Alexander

Another four-star retired general, Keith Alexander, has also made it to the president’s shortlist. Alexander attended the United States Military Academy at West Point, along with Petraeus.

Alexander, 65, became the director of the National Security Agency in 2005 and remained in that role until 2014.

But his tenure is most famously linked to the Edward Snowden leaks, which exposed NSA surveillance programs. Alexander defended the controversial programs exposed by Snowden and testified they helped authorities prevent planned terror attacks.

Compared to the other four, Alexander is considered more digitally astute as he also was the first head of the Cyber Command unit which oversees cyber security and operations.

Former UN Ambassador John Bolton

John Bolton served as President George W. Bush’s ambassador to the U.N.

The 68-year-old received a degree from Yale Law School in 1974 and went on to lend himself to several leadership positions within the State Department and the Department of Justice in the Reagan and Bush administration.

Image: Former U.N. Ambassador John Bolton speaks during the Freedom Summit, Jan. 24, 2015, in Des Moines, Iowa.

Image: Former U.N. Ambassador John Bolton speaks during the Freedom Summit, Jan. 24, 2015, in Des Moines, Iowa.

Bolton has drawn controversy over his sharp views, such as his support for the war in Iraq and most recently calling on President Trump to designate the Muslim Brotherhood as a terrorist organization.

But he still garners support from some GOP heavy hitters. Former presidential candidate and Senator Ted Cruz, R-Texas, in an interview with CNN on Friday suggested Bolton for the post, calling him a “very, very strong” candidate.

Before Rex Tillerson was named as Trump’s choice for Secretary of State, Bolton’s name was among several said to be considered by the president for that post.

Lt. General Herbert Raymond McMaster

Youngest of the bunch is McMaster, 54, who is the deputy commanding general for Futures for Training and Doctrine Command and the director of the Army Capabilities Integration Center.

In addition to his military experience, McMaster has a Phd in American history from the University of North Carolina at Chapel Hill.

He has involved himself in mapping out plans to combat Islamist terrorists in several hot spots and has also, according to Politico, taken a keen interest in figuring out how to outmaneuver possible Russian attacks.