Skip to content

Per-bucket ephemeral keys#251

Merged
amold1 merged 4 commits intomainfrom
key.per.bucket
Feb 12, 2026
Merged

Per-bucket ephemeral keys#251
amold1 merged 4 commits intomainfrom
key.per.bucket

Conversation

@amold1
Copy link
Contributor

@amold1 amold1 commented Feb 9, 2026

Summary:

Instead of a single long‑lived driver key shared across all buckets, we now create short‑lived, bucket‑scoped keys on demand to limit blast radius and align credentials with bucket lifecycle

Changes:

  • Create bucket‑scoped keys on demand for policy/cleanup instead of a startup key.
  • Adjust provisioner constructor and tests for the new per‑bucket flow.
  • Add integration test for bucket‑scoped key isolation.

@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2026

Codecov Report

❌ Patch coverage is 50.60241% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.38%. Comparing base (f56b421) to head (6d405aa).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
pkg/servers/provisioner/provisioner.go 46.57% 32 Missing and 7 partials ⚠️
cmd/linode-cosi-driver/main.go 80.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
- Coverage   60.77%   60.38%   -0.40%     
==========================================
  Files          18       18              
  Lines         798      828      +30     
==========================================
+ Hits          485      500      +15     
- Misses        279      292      +13     
- Partials       34       36       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@amold1 amold1 requested a review from eljohnson92 February 9, 2026 13:03
@amold1 amold1 merged commit 7941f37 into main Feb 12, 2026
10 checks passed
@amold1 amold1 deleted the key.per.bucket branch February 12, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants