Skip to Content
GuidesFleetsChoose the right credential

Choose the right credential

Cmdop issues five credentials that do five different jobs: a fleet join key adds a machine, a console password admits a terminal attach, a connection PIN gates that attach further, a relay SDK token authorizes typed access, and a relay admin password opens the console. None substitutes for another, and each machine authenticates attachers at its own door with its own credentials.

Cmdop’s credentials are purpose-specific and deliberately not interchangeable. Holding one does not get you the others, and no surface accepts a credential issued for a different job.

Credential map

CredentialWhat it admitsWhere you use it
Fleet join keyJoining a machine to a relaycmdop join on the machine being added
A machine’s console passwordA remote terminal attach to that machineTyped at the cmdop connect prompt
A machine’s connection PINAn extra per-machine attach gate, when armedcmdop connect, or the pin argument on a fleet tool
Relay SDK tokenTyped SDK access to an explicit relayCMDOP_TOKEN with CMDOP_BASE_URL
Relay admin passwordSigning in to a relay’s console from another computerThe console sign-in screen

The distinctions that actually bite

Your credential does not open another machine’s door. A remote attach authenticates at the target’s door, so cmdop connect other-box asks for other-box’s console password — your own sign-in and join credentials are not accepted there. See Open an interactive remote terminal.

Console password and connection PIN are two different things. The console password is the machine’s door admin password and is never stored for a remote attach — you type it each time. The PIN is an optional additional gate, and it can be saved per machine:

cmdop connect password set <machine>

Joining is per relay. The join key belongs to one relay, and a machine’s stored credential is per relay too. Switching the active relay does not carry membership or credentials with it — see Use more than one relay.

There is no Cmdop API key for the SDK. The SDK’s relay plane takes CMDOP_TOKEN and CMDOP_BASE_URL; a local SDK client uses the active local setup and needs neither. Do not go looking for an API-key flag — see SDK configuration.

Handling

Supply credentials through the CLI prompt or the documented environment variables. Keep them out of source code, out of command arguments that get logged, and out of shell history. Resetting one credential never silently rotates another.

Common questions

Are Cmdop credentials interchangeable?

No. Join keys, console passwords, connection PINs, relay SDK tokens, and relay admin passwords each admit a different operation.

What credential does a remote attach use?

A remote attach authenticates at the target machine’s door and may also require that machine’s connection PIN.

Is there a Cmdop API key for the SDK?

No. The relay SDK plane uses CMDOP_TOKEN with CMDOP_BASE_URL; local SDK use can rely on the active local setup.

Last updated on