pub trait SecretSource:
Send
+ Sync
+ 'static {
// Required method
fn fetch<'a>(
&'a self,
key: &'a str,
) -> BoxFuture<'a, Result<SecretVersion, String>>;
}Expand description
External secret backend — Vault, AWS Secrets Manager, env (dev), …
Object-safe via BoxFuture, same pattern as SessionStore.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".