How to rotate around y-axis via Controls?

i want to make a child object rotate around a center Parent Object via my Keys.
Ergo, i want the center object to rotate arouny the y axis, so the child object keeps facing towards the center object.

(Spacestation orbiting around a planet)

Seems to be a lot of Threads about this, just couldnt seem to find the right one

Thanks in Advance

This is quite straight forward…any particular step you are struggling with?

Anyway…add this script to the parent:

function Update() {
    transform.Rotate(Vector3(0, Input.GetAxis("Horizontal") * Time.deltaTime, 0));