/config
Overview
The /config command opens the configuration dialog where you can view and modify various Apex settings. This includes API keys, preferences, and other runtime configurations.
Usage
Configuration Options
When you open the config dialog, you can configure:
API Keys
Configure your AI provider API keys for different services:
Anthropic API Key
Set your Anthropic API key for Claude models (recommended for best performance).
Environment Variable: ANTHROPIC_API_KEY
OpenAI API Key
Configure OpenAI API access for GPT models.
Environment Variable: OPENAI_API_KEY
AWS Bedrock
Configure AWS credentials for Bedrock access.
Environment Variables:
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_REGION
Local vLLM
Set the endpoint for your local vLLM server.
Environment Variable: LOCAL_MODEL_URL
General Settings
Customize the terminal UI appearance and behavior
Set default options for penetration testing runs
Configure network timeouts and connection settings
Control logging and output verbosity
Setting Environment Variables
For persistent configuration, set environment variables in your shell profile:
After modifying your shell profile, restart your terminal or run source ~/.bashrc (or ~/.zshrc) to apply changes.
Best Practices
Security Tip: Never commit API keys to version control. Use environment variables or secure secret management solutions.
Recommended Configuration
For optimal performance:
- Use Anthropic Claude models (Sonnet or Opus) for best testing results
- Set generous timeouts for complex targets
- Enable verbose logging when troubleshooting
- Use Kali container for maximum tool compatibility