pub struct Client { /* private fields */ }
Expand description
Vaults is an api service for securely storing and managing sensitive data such as secrets, credentials, and tokens.
Implementations§
Source§impl Client
impl Client
pub fn new(c: Client) -> Self
Sourcepub async fn update(&self, req: &VaultUpdate) -> Result<Vault, Error>
pub async fn update(&self, req: &VaultUpdate) -> Result<Vault, Error>
Update an existing Vault by ID
Sourcepub fn get_secrets_by_vault(&self, req: ItemPaging) -> GetSecretsByVault
pub fn get_secrets_by_vault(&self, req: ItemPaging) -> GetSecretsByVault
Get Secrets by Vault ID
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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