Files
foxhunt/bin/fxt/config.toml.example
jgrusewski 463b2cd130 refactor(fxt): complete TLI→FXT rename + fix token storage panic
- Rename TliConfig→FxtConfig, TliError→FxtError, TliResult→FxtResult
- Migrate token storage path foxhunt-tli→foxhunt-fxt with auto-migration
- Fix FileTokenStorage::Default panic (fallback to /tmp on missing HOME)
- Update all doc comments, login prompt, config.toml.example, env vars
- Update keyring service names foxhunt-tli-access→foxhunt-fxt-access
- Add TOKEN_REFRESH_BUFFER_SECS named constant
- Add clarifying comments for JWT dummy key and IBKR default client ID

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 14:43:07 +01:00

41 lines
1.2 KiB
Plaintext

# FXT Configuration File Example
# Copy this file to ~/.foxhunt/config.toml to use it
#
# Configuration precedence (highest to lowest):
# 1. CLI arguments (--api-gateway-url, --log-level, --token-storage)
# 2. Environment variables (API_GATEWAY_URL, FXT_LOG_LEVEL, FXT_TOKEN_STORAGE)
# 3. Config file (~/.foxhunt/config.toml)
# 4. Hardcoded defaults
#
# To use this configuration file:
# mkdir -p ~/.foxhunt
# cp fxt/config.toml.example ~/.foxhunt/config.toml
# # Edit ~/.foxhunt/config.toml with your settings
# API Gateway URL
# The URL where the Foxhunt API Gateway is running
# Default: http://localhost:50051
api_gateway_url = "http://localhost:50051"
# Log level
# Controls verbosity of logging output
# Options: trace, debug, info, warn, error
# Default: info
log_level = "info"
# Token storage backend
# Where to store authentication tokens
# Options: keyring (OS keyring, recommended), file (plain text file - NOT SECURE)
# Default: keyring
token_storage = "keyring"
# Example custom configurations:
# For production API Gateway:
# api_gateway_url = "https://api.foxhunt.example.com:50051"
#
# For debugging:
# log_level = "debug"
#
# For development (less secure):
# token_storage = "file"