Trait AccountsKeyManagementApi

Source
pub trait AccountsKeyManagementApi: Send + Sync {
    // Required methods
    fn post_convert_to_key_connector<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostConvertToKeyConnectorError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn post_set_key_connector_key<'a, 'life0, 'async_trait>(
        &'life0 self,
        set_key_connector_key_request_model: Option<SetKeyConnectorKeyRequestModel>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostSetKeyConnectorKeyError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn regenerate_keys<'a, 'life0, 'async_trait>(
        &'life0 self,
        key_regeneration_request_model: Option<KeyRegenerationRequestModel>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<RegenerateKeysError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn rotate_user_account_keys<'a, 'life0, 'async_trait>(
        &'life0 self,
        rotate_user_account_keys_and_data_request_model: Option<RotateUserAccountKeysAndDataRequestModel>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<RotateUserAccountKeysError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn post_convert_to_key_connector<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostConvertToKeyConnectorError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /accounts/convert-to-key-connector

Source

fn post_set_key_connector_key<'a, 'life0, 'async_trait>( &'life0 self, set_key_connector_key_request_model: Option<SetKeyConnectorKeyRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostSetKeyConnectorKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/set-key-connector-key

Source

fn regenerate_keys<'a, 'life0, 'async_trait>( &'life0 self, key_regeneration_request_model: Option<KeyRegenerationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RegenerateKeysError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/key-management/regenerate-keys

Source

fn rotate_user_account_keys<'a, 'life0, 'async_trait>( &'life0 self, rotate_user_account_keys_and_data_request_model: Option<RotateUserAccountKeysAndDataRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RotateUserAccountKeysError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/key-management/rotate-user-account-keys

Implementors§