How do I pass a different set of cameras' matrices to my shader?

Hi everyone. Is there a way to use a different set of a camera’s matrices to a shader? Want to use the matrices from a stationary camera instead of a camera that Im orbiting around with. The only way I can think of is manually passing them one by one as uniforms but that didn’t work after attempting it. thanks for any help in advance