aboutsummaryrefslogtreecommitdiff
path: root/src/zencompute/cloudmetadata.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add EC2 IMDS credential provider for S3ClientStefan Boberg48 hours1-17/+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
* added TEST_SUITE_BEGIN/END around some TEST_CASEs which didn't have them (#809)Stefan Boberg12 days1-0/+4
| | | | | | | * added TEST_SUITE_BEGIN/END around some TEST_CASEs which didn't have them * fixed some stats issues * ScopedSpan should Initialize * annotated classes in stats.h with some documentation comments
* compute orchestration (#763)Stefan Boberg12 days1-0/+1010
- 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