aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpsys.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-14 18:38:37 +0100
committerStefan Boberg <[email protected]>2026-03-14 18:38:37 +0100
commitdc47929c93cb844a88f7526cc5afc87735e1b23c (patch)
tree1c5b0068e13c39fb8a4586a8e1d420dc71953b84 /src/zenhttp/servers/httpsys.cpp
parentMerge remote-tracking branch 'origin/main' into sb/s3client (diff)
downloadzen-dc47929c93cb844a88f7526cc5afc87735e1b23c.tar.xz
zen-dc47929c93cb844a88f7526cc5afc87735e1b23c.zip
Add EC2 IMDS credential provider for S3Client
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
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
0 files changed, 0 insertions, 0 deletions