Blastoff workspace API keys
Workspace API keys connect the Testronaut CLI to one Blastoff workspace. Reports, screenshots, MFA configurations, and hosted inbox lookups performed through that CLI session use the workspace's shared resources rather than your personal workspace.
Create a keyβ
- Sign in to Mission Control.
- Select the Blastoff workspace from the workspace selector.
- Open Workspace.
- Under Your workspace API keys, select Create workspace API key.
- Copy the complete
tn_...value immediately. Only its prefix is shown later.
Treat the key as a password. Do not commit it, paste it into mission files, or share it in chat or issue trackers. Each member should create and manage their own key.
Use it with the CLIβ
From the project whose reports should belong to the workspace, run:
testronaut login
Login exchanges the API key for a short-lived session token and stores that token in
the project's testronaut-config.json. Subsequent commands use the workspace scope:
testronaut upload
testronaut missions/login.mission.js
The selected scope comes from the key, not from the workspace currently selected in
the browser. Run testronaut login again with a personal key to return that project
to personal uploads, or with another workspace key to change its destination.
Verify the destinationβ
After uploading a report:
- Select the Blastoff workspace in Mission Control.
- Open the dashboard and locate the report.
- Switch to Personal and confirm the workspace report is not present there.
Revoke a keyβ
In Workspace β Your workspace API keys, delete the key. Deletion immediately revokes it; existing CLI session tokens derived from it are rejected on their next API request. Sign in again with another key to continue.
Removing a member also removes workspace access. Keys are bound to both their creator and organization, so they cannot be reused for a different workspace.
Troubleshootingβ
- Invalid API key: confirm the app and API target the same environment and database.
- API key has been revoked: create a replacement key and run
testronaut loginagain. - Workspace access is no longer available: ask an Owner or Admin to confirm membership.
- Workspace is read-only: an Owner must resolve the workspace subscription status.
- Report appears under Personal: the project still contains a session minted from a personal key; log in again using the workspace key.