Pcornel
Virtualization · Security

RBAC

Cheat sheet · https://pcornel.dk/topic.php?topic=3656

Back to the Topic

Answer

RBAC in virtualization assigns roles with specific permissions (power on, console, change hardware, manage datastores) to users or groups on objects such as clusters, folders or VMs, so people get only what their job needs.

Remember

  • Assign roles at the lowest object scope that works.
  • Review assignments regularly.

First checks

  • pveum acl list — Proxmox ACLs
  • Get-VIPermission — vCenter permissions
  • Get-VMHost | Get-VMHostAuthorization? / Hyper-V Administrators group — Hyper-V admins

Verify in this order

user → group → role on object

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3656

Confirmation

Confirm action

Continue?