Skip to main content

IdentityOperations

Trait IdentityOperations 

Source
pub trait IdentityOperations: Send + Sync {
Show 20 methods // Required methods fn create_entity( &self, params: &EntityCreateRequest, ) -> impl Future<Output = Result<Entity, VaultError>> + Send; fn read_entity( &self, id: &str, ) -> impl Future<Output = Result<Entity, VaultError>> + Send; fn read_entity_by_name( &self, name: &str, ) -> impl Future<Output = Result<Entity, VaultError>> + Send; fn update_entity( &self, id: &str, params: &EntityCreateRequest, ) -> impl Future<Output = Result<(), VaultError>> + Send; fn delete_entity( &self, id: &str, ) -> impl Future<Output = Result<(), VaultError>> + Send; fn list_entities( &self, ) -> impl Future<Output = Result<Vec<String>, VaultError>> + Send; fn create_entity_alias( &self, params: &EntityAliasCreateRequest, ) -> impl Future<Output = Result<EntityAliasResponse, VaultError>> + Send; fn read_entity_alias( &self, id: &str, ) -> impl Future<Output = Result<EntityAliasResponse, VaultError>> + Send; fn delete_entity_alias( &self, id: &str, ) -> impl Future<Output = Result<(), VaultError>> + Send; fn list_entity_aliases( &self, ) -> impl Future<Output = Result<Vec<String>, VaultError>> + Send; fn create_group( &self, params: &GroupCreateRequest, ) -> impl Future<Output = Result<Group, VaultError>> + Send; fn read_group( &self, id: &str, ) -> impl Future<Output = Result<Group, VaultError>> + Send; fn read_group_by_name( &self, name: &str, ) -> impl Future<Output = Result<Group, VaultError>> + Send; fn update_group( &self, id: &str, params: &GroupCreateRequest, ) -> impl Future<Output = Result<(), VaultError>> + Send; fn delete_group( &self, id: &str, ) -> impl Future<Output = Result<(), VaultError>> + Send; fn list_groups( &self, ) -> impl Future<Output = Result<Vec<String>, VaultError>> + Send; fn create_group_alias( &self, params: &GroupAliasCreateRequest, ) -> impl Future<Output = Result<GroupAliasResponse, VaultError>> + Send; fn read_group_alias( &self, id: &str, ) -> impl Future<Output = Result<GroupAliasResponse, VaultError>> + Send; fn delete_group_alias( &self, id: &str, ) -> impl Future<Output = Result<(), VaultError>> + Send; fn list_group_aliases( &self, ) -> impl Future<Output = Result<Vec<String>, VaultError>> + Send;
}

Required Methods§

Source

fn create_entity( &self, params: &EntityCreateRequest, ) -> impl Future<Output = Result<Entity, VaultError>> + Send

Source

fn read_entity( &self, id: &str, ) -> impl Future<Output = Result<Entity, VaultError>> + Send

Source

fn read_entity_by_name( &self, name: &str, ) -> impl Future<Output = Result<Entity, VaultError>> + Send

Source

fn update_entity( &self, id: &str, params: &EntityCreateRequest, ) -> impl Future<Output = Result<(), VaultError>> + Send

Source

fn delete_entity( &self, id: &str, ) -> impl Future<Output = Result<(), VaultError>> + Send

Source

fn list_entities( &self, ) -> impl Future<Output = Result<Vec<String>, VaultError>> + Send

Source

fn create_entity_alias( &self, params: &EntityAliasCreateRequest, ) -> impl Future<Output = Result<EntityAliasResponse, VaultError>> + Send

Source

fn read_entity_alias( &self, id: &str, ) -> impl Future<Output = Result<EntityAliasResponse, VaultError>> + Send

Source

fn delete_entity_alias( &self, id: &str, ) -> impl Future<Output = Result<(), VaultError>> + Send

Source

fn list_entity_aliases( &self, ) -> impl Future<Output = Result<Vec<String>, VaultError>> + Send

Source

fn create_group( &self, params: &GroupCreateRequest, ) -> impl Future<Output = Result<Group, VaultError>> + Send

Source

fn read_group( &self, id: &str, ) -> impl Future<Output = Result<Group, VaultError>> + Send

Source

fn read_group_by_name( &self, name: &str, ) -> impl Future<Output = Result<Group, VaultError>> + Send

Source

fn update_group( &self, id: &str, params: &GroupCreateRequest, ) -> impl Future<Output = Result<(), VaultError>> + Send

Source

fn delete_group( &self, id: &str, ) -> impl Future<Output = Result<(), VaultError>> + Send

Source

fn list_groups( &self, ) -> impl Future<Output = Result<Vec<String>, VaultError>> + Send

Source

fn create_group_alias( &self, params: &GroupAliasCreateRequest, ) -> impl Future<Output = Result<GroupAliasResponse, VaultError>> + Send

Source

fn read_group_alias( &self, id: &str, ) -> impl Future<Output = Result<GroupAliasResponse, VaultError>> + Send

Source

fn delete_group_alias( &self, id: &str, ) -> impl Future<Output = Result<(), VaultError>> + Send

Source

fn list_group_aliases( &self, ) -> impl Future<Output = Result<Vec<String>, VaultError>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§