Configuration
The Chamber CLI stores configuration and credentials in ~/.chamber/.
Configuration Files
| File | Purpose |
|---|
~/.chamber/config.json | CLI settings (API URL, organization ID, default registry) |
~/.chamber/token.json | Authentication credentials |
~/.chamber/chat_history | AI chat readline history (up to 500 entries) |
The token.json file contains sensitive credentials. It’s created with 0600 permissions (owner read/write only). Do not share or commit this file.
Settings
Organization ID
Set your default organization for API requests:
Most commands require an organization context. Setting this avoids having to specify it on every command.
API URL
By default, the CLI connects to https://api.usechamber.io/v1. Override this for development or private deployments:
Default Registry
Set your container registry for the chamber run command to avoid specifying it on every run:
When using ECR, chamber run automatically authenticates using your AWS CLI credentials and creates the repository if it doesn’t exist.
View Configuration
See all current settings:
Output:
Get a specific value:
Environment Variables
You can override configuration using environment variables:
| Variable | Description |
|---|
CHAMBER_API_URL | Override API URL |
CHAMBER_ORG_ID | Override organization ID |
CHAMBER_TOKEN | Override authentication token |
CHAMBER_DEBUG | Set to 1 for verbose API logging |
Example:
Multiple Profiles
For working with multiple organizations or environments, you can use shell aliases:
Usage:
Reset Configuration
To reset all configuration and credentials:
Then re-authenticate:
Troubleshooting
”Not logged in” error
Your token may have expired or been deleted. Re-authenticate:
Set your organization:
Check your setup
Verify everything is configured correctly:
Early Access — The Chamber CLI is currently in early access. Contact support@usechamber.io to get started.