How do you make arrow key cameras

I need a camera that moves left and right with the arrow keys

either make an invisible camera object
or attach it to the player