pub struct AppRoleAuthHandler<'a> { /* private fields */ }Trait Implementations§
Source§impl AppRoleAuthOperations for AppRoleAuthHandler<'_>
impl AppRoleAuthOperations for AppRoleAuthHandler<'_>
async fn login( &self, role_id: &str, secret_id: &SecretString, ) -> Result<AuthInfo, VaultError>
async fn create_role( &self, name: &str, params: &AppRoleCreateRequest, ) -> Result<(), VaultError>
async fn read_role(&self, name: &str) -> Result<AppRoleInfo, VaultError>
async fn delete_role(&self, name: &str) -> Result<(), VaultError>
async fn list_roles(&self) -> Result<Vec<String>, VaultError>
async fn read_role_id(&self, name: &str) -> Result<String, VaultError>
async fn generate_secret_id( &self, name: &str, ) -> Result<AppRoleSecretIdResponse, VaultError>
async fn destroy_secret_id( &self, name: &str, secret_id: &SecretString, ) -> Result<(), VaultError>
Auto Trait Implementations§
impl<'a> Freeze for AppRoleAuthHandler<'a>
impl<'a> !RefUnwindSafe for AppRoleAuthHandler<'a>
impl<'a> Send for AppRoleAuthHandler<'a>
impl<'a> Sync for AppRoleAuthHandler<'a>
impl<'a> Unpin for AppRoleAuthHandler<'a>
impl<'a> UnsafeUnpin for AppRoleAuthHandler<'a>
impl<'a> !UnwindSafe for AppRoleAuthHandler<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more