Security considerations for credentials
masterIBeam requires IBKR credentials to automate login, which introduces security risks because credentials must be stored (e.g., as environment variables).
Mitigation Strategies:
- Docker Swarm: Use Docker Secrets to inject credentials into the container's in-memory
/runfilesystem. This protects credentials at rest, though they remain accessible in plaintext within the running container. - GCP Secret Manager: If running on Google Cloud Platform (Compute Engine, Kubernetes, Cloud Run, or Cloud Functions), IBeam can use the Service Account's identity to securely retrieve secrets from GCP Secret Manager via the metadata server.