You can enable users, customers, or tenants to use a shared vCenter while ensuring that each user can only view and manage their own virtual machines. For this solution, each user uses a unique vCenter client instance, providing user credentials that are associated with a specific vCenter user with limited scope.
To ensure that backups and restores are successful, use the vSphere Client or Web Client to assign user permissions on each required entity. To hide resources from a user, you can assign a "No access" user role to the entity.
vCenter Server Appliance Setup
To create a user account in the vCenter Server Appliance, you must create a role with required permissions. After you create the role, add the user account and associate it with the role you defined as described in the VMware article Managing Local User Accounts in vCenter Server.
Procedure
-
In the vSphere Client, do the following:
-
Go to Home > Administration > Roles, and then click the menu options Administration > Role > Add.
-
Enter the name of the role (for example, cvAdmin).
-
Select backup, restore, and VM File Recovery Plug-In privileges as described in Permissions for Custom User Accounts.
-
Click OK.
-
-
In the vSphere Client, add permissions for a user and role at the appropriate level.
-
Select the entity for which you are adding permissions (for example, a datacenter, host, resource pool, or virtual machine).
-
Click the Permissions tab.
-
Right-click in the tab and select Add Permission.
-
Under Users and Groups, click Add, select the local VSA user on the Select Users and Groups dialog, click Add, and then click OK.
-
Under Assigned Role, select the role from the drop-down list.
-
Click OK.
-