Creating custom roles and assigning custom permissions for users to restrict access only to required NSX resources
book
Article ID: 401864
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
This articles provides the details on how to create users with only required permission that is needed to access only required NSX resources. The steps mentioned here are to create a customer user role with specific permission to operate only on NSX license management.
This procedure could be referred to create similar other RBAC roles with custom permissions assigned.
Environment
VMware NSX
Resolution
Steps to create users with custom roles to provide restricted access to the environment in NSX GUI
Login to NSX GUI as admin
Go to System --> Settings --> User Management --> Roles --> Add Role
Add a new role. For ex., "test-license-admin"
Expand the role created and from the Permissions section, Select System "Read-only". It opens a window to set License configuration . Set "Full Access" and then apply which changes the system config as "Mixed .Thus a new user-role is created with only access granted for license management alone.
Now add new user, by going to Local Users tab --> Local User
Then activate the user by selecting 3 dots and set & confirm password to login
Then go to User Role Assignment , Edit the user created by selecting 3 dots next to the user created and select 1 under roles section
Add roles and select the new Role created to admin only license management "test-license-admin" and apply & save it
Check the new user created is assigned the new role created
Test the new user created should have only license management by logging in to NSX GUI and check if you could add new license only and no other actions config are possible