Skip to content

Choose an agent's permissions ​

An external agent can do exactly what its API key allows. Quantix checks every call on the server against the key's own permissions. Permissions do not imply each other: Change virtual machines does not include View virtual machines, so most changes need the matching view permission too.

You choose permissions when you create the key, as chips under Permissions. The tables below use the chip labels and list everything a task needs.

Start from a ready-made set

Most agents fit one of the ready-made sets below. Use the detailed tables to add a single capability to a set.

Ready-made sets ​

Observer ​

Answers questions, investigates problems and reports. Changes nothing.

View virtual machines, View guest-agent status, View hosts, View clusters, View DRS, View storage, View images, View networks, View container applications, View projects

VM operator ​

Runs VMs day to day: creates, changes, powers and migrates them, takes and reverts snapshots, and mounts ISO images. Cannot delete VMs or their snapshots, or run commands inside guests.

The Observer set, plus Create virtual machines, Change virtual machines, Start virtual machines, Stop virtual machines, Migrate virtual machines and View ISO images.

Application operator ​

Deploys and runs container applications and reads their logs. Cannot remove applications or change clusters.

The Observer set, plus Read application logs, Deploy container applications and Change container applications.

For container work, the person who creates the key must hold these permissions too: a key never does more with container applications than its creator currently may.

What each task needs ​

Virtual machines ​

To let the agent…Give the key
See VMs, their events and snapshots, and templatesView virtual machines
Create a VMCreate virtual machines, View virtual machines; also View images to create it from an image or ISO
Clone a VMCreate virtual machines
Change a VM's settings; take and revert snapshotsChange virtual machines
Attach, detach or resize a diskChange virtual machines, View virtual machines, View storage
Attach or detach a network adapterChange virtual machines, View virtual machines, View networks
Attach a CD-ROM or mount an ISO imageChange virtual machines, View ISO images
Start or resume a VMStart virtual machines
Stop, reboot, reset, pause or suspend a VMStop virtual machines
Move a VM to another hostMigrate virtual machines, View virtual machines
Delete a VM or one of its snapshotsDelete virtual machines

Reverting a snapshot and detaching a disk or network adapter are destructive. Give Change virtual machines only to agents you trust with those changes. Deleting a snapshot removes a restore point for good, so it needs Delete virtual machines.

Inside guests ​

These use the guest agent running in the VM.

To let the agent…Give the key
Check that the guest agent answers, and read a guest job's statusView virtual machines, View guest-agent status
Run a command, or inspect and install packages, in a guestView virtual machines, Change virtual machines, View guest-agent status, Run guest scripts
Update the guest agent in a VM to the host's latest buildView virtual machines, View guest-agent status, Manage guest agent

Hosts, clusters and DRS ​

To let the agent…Give the key
See hosts, their metrics and events, hardware accelerators and operationsView hosts
See clustersView clusters
See DRS status, recommendations and rulesView DRS
Apply a DRS recommendationMigrate virtual machines, Manage DRS
Drain a host into maintenanceDrain hosts
Enable, disable or reboot a host, or put it in maintenance without draining itChange hosts
Remove a host from Quantix-vDCRemove hosts

VMware migration ​

An agent can read what a vCenter holds and prepare a migration plan, and, if you give it the permissions below, start, cancel and cut over migration jobs. It cannot add or remove a vCenter connection: a person does that in Migrate. An agent never sees the vCenter password: it is stored encrypted and no call returns it. A key with View migrations can see each connection's name, address and login username, as the Migrate page does, so give it only to agents you trust with that. Names an agent reads from vCenter are treated as data, never as instructions.

To let the agent…Give the key
List vCenter connections, read the vCenter inventory, a saved plan, or migration jobs; check a plan without saving itView migrations
Save a planView migrations, Edit migration plans
Check whether VMs can migrateView migrations
Start a migrationView migrations, Run migrations
Check whether a failed migration can be retriedView migrations
Retry a failed or cancelled migration (Ready, or Warnings you accepted)View migrations, Run migrations
Check whether a warm migration can be cut overView migrations
Cut a warm migration over (powers the VMware VM off)View migrations, Run migrations, Cut over migrations
Cancel a migration jobView migrations, Cancel migrations
Check what discarding a failed or cancelled job would deleteView migrations
Discard a failed or cancelled job and delete its unfinished copy from the poolView migrations, Discard migration jobs

Starting a cold migration powers the source VM off in VMware when copying begins. Run migrations, Cancel migrations, Cut over migrations and Discard migration jobs are never part of a ready-made set, and a full-access key (*) does not carry them either: you tick each one by name. This applies to every way an API key can call Quantix, not only to AI agents: a full-access key that used to start or cancel migrations directly (through the API) no longer can. Add View migrations, Run migrations and Cancel migrations to that key by name; the person the key acts as must hold them. The agent checks every VM first, never starts a blocked one, and starts one with warnings only when it was told to accept them. The agent accepts routine warnings and a check that could not run separately: a check that could not run (for example the host that will copy did not answer) is not covered by the agent being told to accept warnings, so it is refused unless the agent was also told that that specific check, on that specific VM, may be skipped (a general "accept everything" is not enough, and neither is an instruction about a different VM's check), which it should do only with another reason to believe the host is fine. Cutting over is the point of no return for the VMware VM: it powers it off. The agent first asks what the cutover would do (the same question the Cut over button asks), and cuts over only when the answer is Ready, or when it was told to accept the warnings and, by name, any check that could not run; a migration whose cutover already started is reported as such and not touched again. Before retrying, it asks the same question the Retry button asks (could this job be retried, where would it resume, what would it do to the VMware VM) and retries only when the answer is Ready. If the answer is Warnings (a warning, or a check that could not be run), it retries only when it was told to accept them. A cold retry powers the VMware VM off again, so retrying needs Run migrations just like starting.

The built-in assistant after an upgrade. Earlier versions' Operator and Admin presets ticked Run migrations, Cancel migrations and Cut over migrations, and an assistant ceiling saved from one kept them. The upgrade removes those three from every saved assistant ceiling (the organization-wide one, each role's, and each person's): the assistant has no migration tool that starts, cancels or cuts over until an administrator ticks the permission again by name (Admin Panel → Assistant → Assistant, Permissions tab). Nothing else in a saved ceiling changes, and API keys are not affected.

Each vCenter connection has one plan draft, shared with the people who edit it in Migrate. Saving replaces that draft, so give Edit migration plans only to an agent you want editing it. The agent must name the draft it read (by its last-saved time); if a person changed the draft since, the save is refused and the agent reads it again. This protects people from agents too: a person's wizard saves only over the plan it loaded, so an agent that saved in the meantime is never overwritten silently, and when the person's save is refused the wizard says so and offers to reload the agent's version. The agent's reply says which draft it replaced. A plan the agent calls valid has had its mappings checked against Quantix, not each VM's migratability: that is the separate per-VM check.

Mac hosts ​

An agent can help enroll a Mac, but it cannot run anything on the Mac: a person installs the agent package and runs the enroll command there.

To let the agent…Give the key
Check whether a Mac can be enrolled into a Mac ZoneView clusters
See each Mac's enrollment status, the cluster's join files, and the exact enroll commandView hosts
Prepare a join file for a person to download, or revoke an unused oneAdd hosts
Receive a join file, with its single-use join code, to carry to a Mac itselfAdd hosts, Hand Mac join codes to automation

Storage and images ​

To let the agent…Give the key
See storage pools and volumesView storage
Create a storage poolCreate storage resources
See images and the image catalogView storage, View images
Download or import an imageCreate storage resources, Import images
Synchronize cloud imagesCreate storage resources, View images, Synchronize cloud images
Rescan ISO imagesCreate storage resources, View images, View ISO images
Delete an imageDelete storage, Delete images (Delete ISO images for an ISO)

Networks ​

To let the agent…Give the key
See networks, security groups, topology, connectors and VPN servicesView networks
Create a networkCreate networks, View networks
Create a security groupCreate networks
Add and remove security group rulesChange networks
Delete networks and security groupsDelete networks

Container applications ​

Every container task needs View container applications. Deploying or previewing in your default project also needs View projects.

To let the agent…Also give the key
Read application logsRead application logs
Deploy an applicationDeploy container applications
Update, restart, scale, stop or start an applicationChange container applications
Remove an applicationDelete container applications
Create, import and change container clustersAdminister container clusters
Add a registry or rotate cluster credentialsWrite container credentials
Give a person a link to a container sessionOpen a container session
See protection statusView container protection

Backing up, restoring and purging application data need the matching Container Protection permissions as well.

Platform ​

To let the agent…Give the key
Check for updates, and ask for an update, a backup or a host console (each waits for an administrator's approval)Configure platform
See update statusConfigure platform and one view permission, such as View hosts
See projectsView projects

Alerts ​

Alert rules decide which alerts are raised and who is e-mailed. They have permissions of their own, so a key with Configure platform or Change hosts cannot mute alerts unless you also give it one of these.

To let the agent…Give the key
Mute, re-route or retune an alert for one VMChange virtual machines
Mute, re-route or retune an alert for one hostChange alert rules on individual hosts
Mute, re-route or retune an alert for the whole datacenterChange fleet-wide alert rules
See alert rulesone view permission, such as View hosts

Admin Panel (read-only) ​

An agent can read Admin Panel data to explain it, never change it: every Admin Panel change is refused to an API key, whatever it holds, and is made by a super administrator in the Admin Panel. Secrets are never returned.

To let the agent…Give the key
See the certificate authority status and certificatesView certificates
See users, roles and API keysView users
Search the activity logView audit trail
See organization, SSO, SMTP, SCIM, appliance service and assistant settingsView platform configuration
See high availability (fence providers, host failures being handled, recovery jobs, the automatic profile) and pending approval requestsView platform configuration
Read the control plane's system logsView platform configuration

The assistant's permission catalog is read with the MCP tool ai_delegation_catalog_get. Earlier versions called it ai_scope_catalog_get and listed assistant capabilities instead of permissions; that name is gone, so update any agent prompt or script that calls it.

The built-in assistant cannot read the control plane's logs: a person reads them in Admin Panel → System → System logs.

Keep these away from agents ​

  • Configure platform — changes system settings and asks for updates. An update the agent asks for is not installed until a person approves it in Admin Panel → System → Updates, and the agent cannot change the update settings or import update bundles (Updates need a person).
  • Any Users or Certificates / PKI permission other than the view ones. A key cannot use them in the Admin Panel anyway (every Admin Panel change needs a person), and agents do not need them to operate the datacenter. Give View users, View certificates, View audit trail or View platform configuration only to an agent that must explain that data.
  • Change fleet-wide alert rules and Change alert rules on individual hosts on an agent that does not tune alerts. Both can silence host-down and high availability alerts, the ones that tell you a host has failed. The fleet-wide one can also silence quorum alerts.
  • Run guest scripts, Write guest files and Open remote console on a general-purpose agent. They reach inside your VMs; give them per task, on a separate key with a short Expiry.
  • Hand Mac join codes to automation on any agent that does not deliver join files to Macs itself. A join code lets a Mac join your cluster until it expires; without this permission an agent can still prepare a join file for a person to download.
  • Delete permissions on an agent that does not need to delete.

When an agent is missing a permission ​

Quantix tells the agent that its key lacks a permission, and instructs it to ask you rather than work around it. The tables above show which permission a task needs. If the request is right, create a new key that adds the permission and revoke the old one: a key's permissions cannot be changed after it is created.