Updated May 8, 2026Documentation Index
Fetch the complete documentation index at: https://docs.rafftechnologies.com/llms.txt
Use this file to discover all available pages before exploring further.
raff configure writes a YAML config file at ~/.raff/config.yaml containing your API key, the API base URL, and an optional default project ID. The CLI reads this on every command unless overridden by env vars or flags.
Run interactively
- API key — paste an
raff_<suffix>key from the API Keys page - API base URL — defaults to
https://api.rafftechnologies.com(production); change only if you’re testing against a non-prod environment - Default project ID — optional but useful; lets you skip
--project-idon every command. Get it fromraff project listafter configuring
Multiple profiles
Use--profile <name> to keep separate credentials for different accounts or environments:
~/.raff/config.yaml directly if you prefer.
Environment variables (skip the config file)
For CI/CD or one-off shells, env vars work without configuring anything:Authentication precedence
Every command resolves credentials in this exact order:- CLI flag —
--api-key,--api-url,--project-idon the command line - Environment variable —
RAFF_API_KEY,RAFF_API_URL,RAFF_PROJECT_ID - Config file — selected profile (or
defaultif no--profile) in~/.raff/config.yaml
Verify your setup
401 Unauthorized, double-check the API key. If it errors with 403 Forbidden, the key is valid but doesn’t have account.projects.view permission — see the role assigned to the key on the API Keys page.
Related
Generate an API key
Get the key you need before configuring.
VM commands
Start using the CLI.
Roles, scopes, and the Owner
Why you may see a 403 even with a valid key.