system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Who knows that Darth Vader is actually Anakin Skywalker

&#x200B;

I've always wondered about this. The obvious one are: Luke, Obi Wan, Palpatine, Leia, Yoda and Ahsoka. Another strong candidate is Tarkin as he seems quite certain of it in his namesake novel and the way he talks to Vader in the briefing room also clearly indicates that he knows the truth. Also in the meeting was Admiral Yularen who served closely with Anakin in the clone wars, surely he pieced it together as well. And, correct me if I'm wrong I haven't seen it in a while, but I'm pretty sure Ezra heard Ahsoka say it during her confrontation with Vader. If you can think of anyone else please do say.
gpt
Tarkin knew vader's identity pretty early on in legends but kept it secret. In canon IIRC he learns it shortly before the death star is finished in a similar manner.

There's also at least one ISB agent that learned the truth shortly before letting vader kill him and handing Vader the keys to a coup plot against the emperor. 

Fett didn't know vader's secret but knew he was somehow connected to Luke by more than just political reasons. He knew enough to connect Vader to obi wan and obi wan to luke but didn't connect them to Anakin.

A handful of padmes loyalist guards knew Anakin was vader and launched a failed assassination attempt against him. 

Legends has a few others learn his identity early on but most were killed to silence the truth long before 0ABY. After that Luke and Leia openly shared their parentage and connection to vader once they knew. However that was mostly after his death. Boba fett knew of Anakin being vader early on but only because of his close proximity to vader that isn't present in canon. He maintained the secret for Vader out of mutual respect and fear unlike others who were killed almost without question. And at least one ISB or maybe just imperial officer discovered his secret during his hunt for the rebellion after yavin but kept it secret to avoid dying like all others even remotely involved in his hunt for Luke. She was fast tracked through promotions but lived in abject fear he would kill her at any moment for knowing the truth.