Skip to main content
An executor authenticates with the exc_ API key stored in its own config. When you rotate or replace that key in the UI, the old key is revoked immediately — but the executor keeps presenting whatever key is still in its config. This recipe shows where the key lives and how to swap it in, for both backends.
If the executor was offline when you rotated its key, it can’t recover on its own: it still holds the old key, which no longer exists, so it fails to authenticate the moment it comes back. Apply the new key with the steps below and it reconnects on the next sync.

Before you start

  • The new exc_ key — shown only once, when you created or rotated it. If you don’t have it, rotate again to mint a fresh one.
  • Owner or admin to rotate the key; shell access to the host (Agent) or cluster (Operator) to apply it.
The Agent reads its key from [hub] token in /etc/nvcl/agent.toml, once at startup. Update the file and restart the service.
1

Write the new key

Edit /etc/nvcl/agent.toml as root and replace the [hub] token value:
Or in place, without opening an editor:
Keep the file mode 0600 and owned by root — the token is the credential.
2

Restart the agent

The config is read once at startup, so the restart is what picks up the new key. Running nodes are unaffected — their nvcl-node-* units keep running.
3

Confirm it reconnected

The Executors row flips back to online within a few seconds. Auth errors here mean the key is wrong or has trailing whitespace.

Verify

In Executors, the row returns to online. On the API keys page, the new key’s Last used updates from never to just now, confirming the executor presented it.