feat(kms): reserve and expose KV2 wrap-budget consumption (#6019)

This commit is contained in:
Zhengchao An
2026-08-13 08:05:00 +08:00
committed by GitHub
parent 4a41325d1a
commit ca06c7ec2c
10 changed files with 538 additions and 15 deletions
+3
View File
@@ -976,6 +976,9 @@ mod tests {
// default, and only a populated one fixes the wire names.
rotation_due: true,
rotation_due_reason: Some(RotationDueReason::Age),
// `#[serde(skip)]`: populated on purpose so the snapshot proves the
// wrap counter stays off the admin wire even when a backend set it.
wrap_budget_reserved: Some(1_000_000),
}
}