Skip to content

Environment Variables

eksreview reads configuration from environment variables. Defaults are sensible; most users only need AWS credentials and a region.

Variable Default Description
AWS_REGION / AWS_DEFAULT_REGION us-east-1 Region for EKS/EC2 API calls
MODEL_ID global Claude Opus profile Bedrock model override. By default the agent uses global cross-region inference profiles (global. prefix). Set this to a regional system inference profile (e.g. us.anthropic.claude-sonnet-4-6) to pin a geography; /model switches then stay in that same region. See Models & Regions.
BEDROCK_AWS_REGION Same as AWS_REGION Region for Bedrock, if different from the cluster's. See Models & Regions.
BEDROCK_AWS_ACCESS_KEY_ID (none) Cross-account credentials for Bedrock
BEDROCK_AWS_SECRET_ACCESS_KEY (none) Cross-account credentials for Bedrock
BEDROCK_AWS_SESSION_TOKEN (none) Cross-account session token for Bedrock
AWS_BEARER_TOKEN_BEDROCK (none) Bedrock API key (short- or long-term); takes precedence over BEDROCK_AWS_* for Bedrock calls
EKS_REVIEW_NO_SHELL (none) Set to 1 to disable command execution (same as --no-shell)
EKS_REVIEW_OFFLINE (none) Set to 1 to skip the EKS Best Practices PDF sync at startup
LOG_LEVEL WARNING DEBUG, INFO, WARNING, or ERROR
REPORTS_DIR reports Where reports are written
KNOWLEDGE_DIR .knowledge Knowledge base storage
SESSIONS_DIR .sessions Conversation session storage

Note

On POSIX systems the reports/, .knowledge/, and .sessions/ directories are created with owner-only (0700) permissions because they can contain cluster security posture and IAM details.

Corporate networks (TLS-inspecting proxies)

If you sit behind an HTTPS-inspecting proxy that re-signs traffic with an internal CA:

export HTTPS_PROXY=http://corp-proxy.internal:3128
export NO_PROXY=169.254.169.254,localhost
export AWS_CA_BUNDLE=/etc/ssl/certs/corp-ca.pem
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/corp-ca.pem
export SSL_CERT_FILE=/etc/ssl/certs/corp-ca.pem

Both the agent and the MCP subprocess honor these.