Skip to main content
Configures the CLI with your QA.tech API key. By default the key is saved to .qatech/config.json in the current directory so each project can have its own key. Use --global to write to ~/.qatech/config.json as a fallback.

Usage

Options

Examples

Resolution order

The resolved key is the first match from:
  1. --api-key flag on the running command
  2. QATECH_API_KEY environment variable
  3. .qatech/config.json in the current directory (project-local)
  4. ~/.qatech/config.json (global fallback)
qatech configure --show reports the active key (masked), the source it came from, and both config file paths so you can see exactly which file you’re editing.

Security

The config file stores your raw API key - treat it like any other credential. Add .qatech/ to your .gitignore if you want to keep project-local keys out of source control.
Get your API key from app.qa.techSettings → Integrations → API.