pub trait SecretStore: Send + Sync {
// Required method
fn resolve(
&self,
profile: &str,
auth: &AuthRef,
) -> Result<Option<Credential>, CoreError>;
}Expand description
One place to look for a credential. Ok(None) = not found here, try the
next store; Err = found-but-unreadable (surface with hint).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".