use crate::error::Result;
use crate::wami::sts::CallerIdentity;
use async_trait::async_trait;
#[async_trait]
pub trait IdentityStore: Send + Sync {
async fn create_identity(&mut self, identity: CallerIdentity) -> Result<CallerIdentity>;
async fn get_identity(&self, arn: &str) -> Result<Option<CallerIdentity>>;
async fn list_identities(&self) -> Result<Vec<CallerIdentity>>;
}