/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

$/config

Configuration Options

When you open the config dialog, you can configure:

API Keys

Configure your AI provider API keys for different services:

Set your Anthropic API key for Claude models (recommended for best performance).

Environment Variable: ANTHROPIC_API_KEY

Configure OpenAI API access for GPT models.

Environment Variable: OPENAI_API_KEY

Configure AWS credentials for Bedrock access.

Environment Variables:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION

Set the endpoint for your local vLLM server.

Environment Variable: LOCAL_MODEL_URL

General Settings

Display Preferences

Customize the terminal UI appearance and behavior

Testing Options

Set default options for penetration testing runs

Network Settings

Configure network timeouts and connection settings

Output Settings

Control logging and output verbosity

Setting Environment Variables

For persistent configuration, set environment variables in your shell profile:

Bash/Zsh (~/.bashrc or ~/.zshrc)
$export ANTHROPIC_API_KEY="your-api-key-here"
>export OPENAI_API_KEY="your-openai-key"
>export LOCAL_MODEL_URL="http://localhost:8000/v1"
Windows (PowerShell Profile)
1$env:ANTHROPIC_API_KEY = "your-api-key-here"
2$env:OPENAI_API_KEY = "your-openai-key"

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.

For optimal performance:

  1. Use Anthropic Claude models (Sonnet or Opus) for best testing results
  2. Set generous timeouts for complex targets
  3. Enable verbose logging when troubleshooting
  4. Use Kali container for maximum tool compatibility