pub trait SecretsManagerPortingApi: Send + Sync {
// Required methods
fn export<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SmExportResponseModel, Error<ExportError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn import<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
sm_import_request_model: Option<SmImportRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<ImportError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn export<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SmExportResponseModel, Error<ExportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn export<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SmExportResponseModel, Error<ExportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /sm/{organizationId}/export
Sourcefn import<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
sm_import_request_model: Option<SmImportRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<ImportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn import<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
sm_import_request_model: Option<SmImportRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<ImportError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /sm/{organizationId}/import