Skip to main content

download_vaults

Function download_vaults 

Source
pub(super) async fn download_vaults(
    credentials: &Credentials,
    account_key: &AccountKey,
    session: &Session,
) -> Result<Vec<Vault>, OnePasswordError>
Expand description

Unlocks the account’s keys and downloads every vault the session can open.

Split out of Client::download_all_vaults so the fixture replay can drive the real download over captured responses without performing the login exchange.