MQL5-Google-Onedrive/SECRETS_TEMPLATE.md
google-labs-jules[bot] 878e4e5d83 feat: Secure bridge integration, refactor EAs, and add profile maintenance script
- Created `mt5/MQL5/Include/ZoloBridge.mqh` for shared, secure (HTTPS) bridge logic with proper JSON sanitization.
- Created `ExpertMACD_Enhanced.mq5`, `ExpertMAMA_Enhanced.mq5`, and `ExpertMAPSAR_Enhanced.mq5` using standard library and ZOLO bridge.
- Refactored `EXNESS_GenX_Trader.mq5` and `SMC_TrendBreakout_MTF_EA.mq5` to use `ZoloBridge.mqh` and updated default URL to `https://genx-fx.com/api/signal`.
- Updated `scripts/deploy_docker_hub.sh` and `scripts/update_vps.sh` to support `DOCKER_USERNAME` and `DOCKER_PASSWORD` environment variables.
- Added `scripts/fix_profiles.py` to copy defaults to empty profile directories.
- Added `SECRETS_TEMPLATE.md` for credential management guidance.
- Updated EA link properties to Forge URL.
2026-01-22 01:08:24 +00:00

30 lines
1 KiB
Markdown

# Secrets & Credentials Management
This project requires certain credentials to fully function. **Do not commit these values to the repository.**
## Environment Variables (CI/CD & Scripts)
When running deployment scripts (`scripts/deploy_docker_hub.sh`, `scripts/update_vps.sh`), use environment variables:
- `DOCKER_USERNAME`: Your Docker Hub username.
- `DOCKER_PASSWORD`: Your Docker Hub access token or password.
Example:
```bash
export DOCKER_USERNAME="your_user"
export DOCKER_PASSWORD="your_token"
./scripts/update_vps.sh
```
## MQL5 Expert Advisor Inputs
When configuring the EAs in MetaTrader 5, use the Inputs tab. Do not hardcode these in `.mq5` files.
- **GeminiApiKey**: Your Google Gemini API Key (for `SMC_TrendBreakout_MTF_EA`).
- **WebRequestURL**: The ZOLO Bridge URL.
- Default: `https://genx-fx.com/api/signal` (Secure)
- Ensure this URL uses `https://` to encrypt traffic.
## Windows Credential Manager
For local automation, store sensitive tokens in Windows Credential Manager if required by custom scripts.