We are in process to move to the centralised single pane of Cloudforms global and remote instances
As custom automation cannot be executed from Global to Remote we are in process of writing API calls from global to remote
Also catalog items are synced from remote to global but the problem is that if we have 3 regions and 1 Global region then there will be for example 3 catalog items for “Windows 2016” for different regions
So I was thinking to create a generic catalog item in Global Region and then through the Automation call the API to invoke “Order Service” in the remote regions.
I am able to successfully order a service but the problem that I am facing is Authentication.
I can have a service account that we can use to authenticate from Global to Remote but how can we order service in specific customer environments
Every customer environment is tagged so when a customer logs in and orders a service then all the tags are used and specific naming conventions and resources are allocated. All that is working in the remote regions but through the API from the global I would want to execute “Order Service” and the requester_name should be the logged in user in the Global Region.
How can I get the logged in user credentials and pass that info to the remote region?
Any help would be really appreciated