Skip to main content
Use API keys for CI and other non-interactive clients. Use browser sign-in for human sessions. Keys can also be created, rotated, and revoked in the Mount Thor portal.

Create a key

The default scopes are sessions:write, access:write, compute:read, compute:session, and compute:write — enough for compute automation. For a narrower key, set --scopes explicitly:
compute:session is required for SSH, desktop, and port-forward grants. Add account:read for account reads such as mthr whoami, and billing:read for billing reads. Neither is included by default. Set an expiry when the key has a fixed lifetime:
The plaintext key is shown once. Store it in a secret manager, then expose it to mthr as MOUNTTHOR_API_KEY:
When both a stored browser session and MOUNTTHOR_API_KEY are present, the API key takes precedence.

List and update keys

Updating scopes replaces the current set.

Delete a key

Delete unused or exposed keys immediately.