If I have a tangent to a point in 3D space, how can I obtain an axis from this tangent in order to obtain a quaternion rotation from axis, angle?

What other things do I need? Thanks.