Create a cloud connector api helper module
What does this MR do and why?
This refactors some code around the Cloud Connector related data we send into the AI Gateway. Everything is put in a helper module so it can easily be re-used.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
no-op, specs should be green
Related to #438391 (closed)