Enrollment tokens
Create, reveal, rotate and revoke the tokens that let Octic sensors report into your workspace.
An enrollment token is the credential a sensor uses to report into your workspace. This page shows how to create one, find it again, and revoke it when a token leaks or a fleet is retired. Owners and admins manage tokens; members can't see them.

- One token, many hosts. Every host installed with a token reports into
the workspace that created it. Use one token per fleet, such as
prod-fleet-us-eastorengineering-laptops, so you can revoke one fleet without touching the others. - Tokens don't expire. A token works until you revoke it. On each host, the sensor exchanges it for a short-lived access token and never sends the enrollment token with its data.
- Tokens start with
octic_et_. The Linux and Windows installers warn when a value doesn't, which usually means something else was pasted. - Each host shows its token. The Sensors page lists the token's name under Enrollment key.
You can create a token in two places:
- Settings, under Enrollment tokens: choose Create token, enter a Name and choose Create token. The next screen shows the token with a copy button.
- The Enroll Host dialog on Sensors: at the Enrollment token step, enter a New token name and choose Create token. The dialog puts the new token straight into the install command.

Names can be up to 200 characters. Pick one that says which hosts use the token.
Open Settings, then Enrollment tokens. Active tokens lists every token that hasn't been revoked, with its value masked. Use the eye button to reveal a token and the copy button to copy it. Right-click a row for the same actions.
In the Enroll Host dialog, choose Use next to a token under Use an existing token to put it into the install command.
To replace a token without a gap in reporting:
- Create a new token.
- On each host, run the installer again with the new token. On Linux and macOS, a token you pass to the installer replaces the one on disk; see Upgrade and uninstall for each platform.
- When every host shows the new token under Enrollment key on Sensors, revoke the old one.
In Enrollment tokens, choose Revoke on the token's row, then Revoke token to confirm.

Revoking can't be undone. Octic stops accepting the token at once, and each host enrolled with it stops reporting when its current short-lived access token expires. The sensor logs that the token was rejected and that reporting is paused until a valid token is installed. Coding-agent events collected in the meantime stay queued on the host, within its retention limits. The hosts stay on Sensors and turn Offline after 15 minutes without a heartbeat.
Last updated
Was this page helpful?


