At the end of his life, Vader’s final words to Luke are: “Tell your sister, you were right.” Before confronting their father, Leia told Luke she believed there was still good in Darth Vader and that he could be brought back to the light — the same thing their mother told Obi-Wan Kenobi in her final moments. Both women were right; Through the undying love of father, son, and daughter, Vader — Anakin Skywalker — was redeemed.

In the years following the fall of the Empire and the rise of the New Republic, Leia was forced to confront her dark family history. By then, it was widely known that Luke and Leia were brother and sister, but their relation to Vader was a pretty well-kept secret … until it wasn’t.

The moment the galaxy found out they were the children of a Sith Lord nearly ended Leia’s political career. However, she came to embrace where she came from and continued to fight for the good of the galaxy for the rest of her life.

Source: https://www.distractify.com/p/does-darth-vader-know-leia-is-his-daughter