Expand description
The 1Password access module: log in to an account and download its vaults.
Exposed only under the test-utils feature, for the out-of-tree CLI that drives it against
a real account. Not part of this crate’s supported API, and no stability is promised.
Read access to a 1Password account: log in with the master password and Secret Key, then
download and decrypt every accessible vault into a native 1Password model.
A port of the OnePassword module in Bitwarden’s C# password-manager-access library. See
README.md for the porting notes and open questions.
Modules§
- model
- What a download yields: vaults holding items, each item still in its decrypted 1Password shape.
- wire
- serde DTOs for every 1Password endpoint.
Structs§
- Client
- The 1Password client. Holds the injected HTTP transport so tests can point it at a mock host.
- Credentials
- The credentials for a password + Secret Key login.
- Sign
InAddress - Where an account signs in, such as
my.1password.com.
Enums§
- OnePassword
Error - Errors returned by the 1Password access library.
- Sign
InDomain - One of the domains 1Password serves accounts on, the set its clients offer in the sign-in form.
- Totp
Result - The outcome of a two-factor prompt.
Traits§
- TwoFactor
Ui - Callback for interactive two-factor authentication.
Functions§
- generate_
device_ uuid - Generates a 26-character 1Password device id from the lowercase base32 alphabet.