// SPDX-License-Identifier: BUSL-1.1
//! `KeyProvider` trait — the unwrap/rotate abstraction over all KMS backends.
use Zeroizing;
use crateResult;
/// Abstraction over key unwrapping and rotation for all KMS backends.
///
/// Implementations must hold no plaintext key bytes beyond the scope of
/// `unwrap_key`. The returned `Zeroizing` wrapper ensures the key bytes
/// are wiped from memory when the caller drops the value.