feat(kms): add backend capability discovery (#5485)

This commit is contained in:
Zhengchao An
2026-07-31 06:09:43 +08:00
committed by GitHub
parent 40ef0db9cc
commit 342ee1df78
13 changed files with 393 additions and 4 deletions
+5
View File
@@ -159,6 +159,11 @@ impl KmsManager {
pub async fn health_check(&self) -> Result<bool> {
self.backend.health_check().await
}
/// Report the capabilities of the configured backend
pub fn backend_capabilities(&self) -> crate::backends::BackendCapabilities {
self.backend.capabilities()
}
}
#[cfg(test)]