pub trait SecretsProvider:
Send
+ Sync
+ Debug {
// Required method
fn get_secrets(&mut self) -> Secrets;
}
Expand description
Trait that exposes a method for retrieving secrets.
Clients are generic over SecretsProvider so the client can specify how to retrieve the API key and secret at runtime.