Camera fly or move along path

I have created a polyline based on points' coordinates in a database and I am wondering if I can set the camera move along this polyline, or somehow to move from one point to another like walking on this line.
It would great if it worked with Cesium.Cartesian3.fromDegreesArrayHeights as my polyline but as far as i have seen it is not an option for the camera

I think the easiest way to do this is to have an entity follow that path, like in this example:

You can then set the camera to follow that entity, and hide the entity by setting its scale to 0.001 or alpha to 0 or something like that. This is the technique we used to take the flythroughs of the pyramid tileset in this blog post:

Let me know if this helps!