mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-29 16:37:07 +00:00
feat(kms): surface non-production backend positioning at runtime (#6633)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user