--- title: "Managing Roles via CLI" slug: "managing-roles-via-cli" updated: 2026-10-27T17:23:45Z published: 2026-10-27T17:23:45Z canonical: "docs.vastdata.com/managing-roles-via-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Managing Roles via CLI You can manage permissions through roles. Managers can belong to any number of roles. Managers inherit all permissions enabled for any roles they belong to. To manage roles via the [CLI](/docs-5-3/docs/using-the-vast-cli), use the following commands. | Task | Command | | --- | --- | | Assign manager to role | `manager join` | | Remove manager from role | `manager leave` | | Display roles | [role list](/docs-5-3/docs/en/role-list) | | Display details of specific role | [role show](/docs-5-3/docs/en/role-show) | | Add a role | [role create](/docs-5-3/docs/en/role-create) | | Delete a role | [role delete](/docs-5-3/docs/en/role-delete) | | Assign permissions and/or LDAP groups to a role | [role assign](/docs-5-3/docs/en/role-assign) | | Remove permissions from a role | [role unassign](/docs-5-3/docs/en/role-unassign) |