Summary
Currently, package downloads in cloudcontrol can hit rate limits if unauthenticated requests are used. To improve reliability, implement an option to use authenticated accounts for package downloads, utilizing credentials where available.
Acceptance Criteria
- Users can configure cloudcontrol to use authenticated accounts for package downloads.
- Documentation is updated to describe how to provide authentication credentials.
- The new option is disabled by default to preserve current behavior.
- Proper error handling for authentication failures is implemented.
Rationale
Authenticated downloads help avoid hitting rate limits imposed by package repositories, resulting in more stable and predictable behavior for users.
Additional context
Consider supporting major package repositories (e.g., GitHub Packages, npm, PyPI, Docker Hub) and providing guidance for token management.