feat(kms): surface non-production backend positioning at runtime (#6633)

This commit is contained in:
唐小鸭
2026-08-26 13:25:49 +08:00
committed by GitHub
parent b49c9a07d1
commit b1b3655bf8
15 changed files with 91 additions and 11 deletions
+4 -1
View File
@@ -2279,7 +2279,10 @@ impl KmsBackend for LocalKmsBackend {
fn capabilities(&self) -> BackendCapabilities {
// Rotation stays unadvertised until historical key versions can be
// retained (see LocalKmsClient::rotate_key); without version history
// there is also no versioning capability.
// there is also no versioning capability. `production_supported` stays
// false by positioning decision: the Local backend keeps its
// cryptographic root on the host filesystem and exists for
// development, testing and demos only.
BackendCapabilities::minimal()
.with_enable_disable(true)
.with_schedule_deletion(true)