pub mod aws_sm;
pub mod aws_sts;
pub mod env;
pub mod onepassword;
pub mod vault;
use crate::config::ResolverConfig;
use crate::error::Result;
use async_trait::async_trait;
#[derive(Debug, Clone)]
pub struct ResolvedSecret {
pub value: String,
pub ttl: Option<u64>,
}
#[async_trait]
pub trait SecretResolver: Send + Sync {
async fn resolve(&self, config: &ResolverConfig) -> Result<ResolvedSecret>;
}