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.
Set these environment variables in your shell profile, .env file, or CI environment:
Copy
Ask AI
# API endpointsKEYSTONE_API_URL="https://api.withkeystone.com"KEYSTONE_FRONTEND_URL="https://app.withkeystone.com"# AuthenticationKEYSTONE_API_KEY="your-api-key-here"# Local runner settingsKEYSTONE_RUNNER_PORT="9223"KEYSTONE_HEADLESS="false"KEYSTONE_DEBUG="false"# File and directory settingsTEST_FILES_DIR="./tests"KEYSTONE_CREDENTIALS_PATH="~/.keystone/credentials"
# Custom Keystone instanceKEYSTONE_API_URL="https://keystone.yourcompany.com/api"KEYSTONE_FRONTEND_URL="https://keystone.yourcompany.com"# Local development (if running Keystone locally)KEYSTONE_API_URL="http://localhost:8000"KEYSTONE_FRONTEND_URL="http://localhost:3000"