@airctrl/cli lets you work with from a terminal and inject records into a process without creating a local .env file.
Install
Human login
- API base URL.
- Personal Access Token.
- Optional default project ID.
~/.airctrl/config.json.
For non-interactive jobs, use:
Service Account execution
An active Service Account requiresAC_TOKEN, AC_API_BASE_URL, AC_SA_CREDENTIAL_ID, and AC_SA_CAP_PRIVATE_KEY_B64 from one credential bundle. AC_SA_SERVICE_ACCOUNT_ID carries the bundle identity when available.
Do not mix fields from different bundles. An incomplete Service Account environment fails instead of falling back to human mode.
Service Account mode exposes a smaller command set for unattended record and Gateway work. Human-only
commands fail before an SDK or API call. See CLI commands for the exact list.
Inject records
- Reads accessible records in that project.
- Decrypts them locally.
- Converts record names to uppercase environment keys.
- Removes control variables from the child environment.
- Starts the child process with the record values in memory.
.env file.
The CLI login belongs only to the CLI. SDK applications and MCP servers must receive their own explicit configuration. See Combine tools for safe mixed workflows.