Configuration overview
The Keystone CLI offers flexible configuration through environment variables, command-line options, and configuration files. This allows you to customize the CLI for different projects, environments, and team workflows.Environment variables
Core configuration
Set these environment variables in your shell profile,.env file, or CI environment:
Auto-detection variables
The CLI automatically detects certain environment conditions:Custom backend URLs
For on-premise or custom Keystone installations:Command-line options
Global options
Available for all commands:Init command options
Start command options
Auth commands options
Project configuration
.keystonerc file
Create a.keystonerc file in your project root for project-specific settings:
Package.json scripts
Integrate CLI commands into your project workflow:Docker configuration
For containerized development:Authentication configuration
Credential storage
Keystone stores credentials securely using OS-level systems: macOS: Keychain AccessManual credential management
CI/CD authentication
For automated environments:Network and proxy configuration
Corporate networks
For environments with proxy servers or restricted networks:Firewall configuration
Ensure these ports are accessible:- Outbound 443: HTTPS to Keystone API
- Outbound 80: HTTP redirects
- Inbound 9223: CLI runner (configurable)
- Local browser: Chrome/Chromium access

