Object pose in camera coordinates
There are two ways to do this:

Parenting

just make your object a child of the cam, and it will copy its location and rotation.
select first the camera, then the object.
press Ctrl+p

Object constraints



drivers
Right-click on x/y/z location