Moving the camera accoring to a plane

I am trying to rotate the camera according to a given plane, so the plane should be flat (like camera should be on top of the plane, and line from the camera be perpendicular to the plane).
I have two line equations from which I can then get the plane created by them. Based on that how do I change the eye and up values such that the camera is directly above the imaginary plane?