Skip to content

Machine Users

A machine user is an organization-scoped identity for agents and CI. It signs in with a token, not a browser.

Create one in the dashboard, under Settings → Machine users. Reoclo shows the token (rk_m_…) at creation time only. Copy it before you close the dialog.

A machine user holds a role, the same as a human team member. The role decides what it can do. See Team and User Management for what each role allows.

Reoclo has two credentials for machines. Pick the one that matches the job.

Automation keyMachine user
ScopeNarrow: a fixed set of operationsFull: an organization member with a role
Best forA CI pipeline that does one thingAn agent that operates the platform
Environment variableREOCLO_AUTOMATION_KEYREOCLO_MACHINE_TOKEN
Token prefixrca_rk_m_

Both can run reoclo run, on CLI 0.68.0 or later.

Set REOCLO_MACHINE_TOKEN to the token, then run any command:

Terminal window
REOCLO_MACHINE_TOKEN=rk_m_... reoclo run -- ./task.sh

Each environment variable holds one credential class. REOCLO_AUTOMATION_KEY holds an automation key. REOCLO_MACHINE_TOKEN holds a machine user token. A token in the wrong variable makes the CLI exit with code 2.

A machine user reads secrets through a grant, the same as an automation key. Open the secret project, go to its Access tab, and grant the machine user read.

A secret project that is restricted to specific servers cannot be read by a machine user. Use an automation key for that project instead.

A machine user can carry a server scope, the same list of servers an automation key can carry. Leave it scoped to every server, unless you need to limit this machine user.

Server scope applies only to requests that name a server directly. It does not limit every operation, so it is not a full boundary.