aboutsummaryrefslogtreecommitdiff
path: root/src/zencompute/testing/mockimds.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add EC2 IMDS credential provider for S3ClientStefan Boberg2 days1-204/+1
| | | | | | | | | | | | | | | | | Add ImdsCredentialProvider that fetches and caches temporary AWS credentials from the EC2 Instance Metadata Service (IMDSv2), enabling S3Client to work on EC2 instances without static credentials. - New ImdsCredentialProvider class (RefCounted) with RwLock-based double-checked caching and 5-minute pre-expiration refresh - S3ClientOptions gains optional CredentialProvider field; when set, SignRequest/GeneratePresignedUrl use dynamic credentials and invalidate the signing key cache on access key rotation - Move CloudProvider enum and MockImdsService from zencompute to zenutil for reuse; extend mock with IAM credential endpoints - Add --imds flag to zens3-testbed for EC2 credential testing - Integration tests using mock IMDS server verify fetch, caching, invalidation, and unreachable endpoint graceful failure
* compute orchestration (#763)Stefan Boberg12 days1-0/+205
- Added local process runners for Linux/Wine, Mac with some sandboxing support - Horde & Nomad provisioning for development and testing - Client session queues with lifecycle management (active/draining/cancelled), automatic retry with configurable limits, and manual reschedule API - Improved web UI for orchestrator, compute, and hub dashboards with WebSocket push updates - Some security hardening - Improved scalability and `zen exec` command Still experimental - compute support is disabled by default