VMware Cloud Community
APJ7033
Enthusiast
Enthusiast
Jump to solution

VRO 7.6 and vCenter Plug-in

Hi

When one run the workflow 'Add vCenter server Instance', the credentials that are supplied are they just used for that point in time. Similar to how you join and ESXi host to a vCenter ?

Thanks

0 Kudos
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee
Jump to solution

Well, what you said is correct only when the vCenter server instance is added in so called 'shared session' mode.

The 'Add a vCenter Server instance' workflow provides an option to select also another mode - 'session per user' - in which case the credentials supplied in the workflow will be used only for registration purposes, but when later you perform another operation that calls vCenter API, the call will be made using the account of the current user. For example, if you login to vRO Java client with user@domain.com account and run some vCenter-related workflow like 'Rename VM', the operation on the vCenter will be invoked using user@domain.com account and not the account you supplied earlier in the workflow 'Add a vCenter Server instance'.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.

View solution in original post

2 Replies
Hejahida82
VMware Employee
VMware Employee
Jump to solution

The credentials you enter are used to retrieve the vCenter inventory and to perform any activities requested as part of vRO workflows within vCenter e.g. if you run a workflow that creates a virtual machine, vRO will connect to vCenter using the entered credentials to log in and create the new VM. So the account used needs to have sufficient permissions to access all parts of the vCenter inventory that you want to orchestrate via vRO.

0 Kudos
iiliev
VMware Employee
VMware Employee
Jump to solution

Well, what you said is correct only when the vCenter server instance is added in so called 'shared session' mode.

The 'Add a vCenter Server instance' workflow provides an option to select also another mode - 'session per user' - in which case the credentials supplied in the workflow will be used only for registration purposes, but when later you perform another operation that calls vCenter API, the call will be made using the account of the current user. For example, if you login to vRO Java client with user@domain.com account and run some vCenter-related workflow like 'Rename VM', the operation on the vCenter will be invoked using user@domain.com account and not the account you supplied earlier in the workflow 'Add a vCenter Server instance'.

---------------------------------------------------------------------------------------------------------

Was it helpful? Let us know by completing this short survey here.