Vaults class provides methods for managing vaults in 1Password. The SDK can only get information about vaults that the authenticated user or service account has access to.
Requirements
To use this feature, you’ll need to install the 1Password SDK from the beta branch:- Go
- JavaScript
- Python
Get a vault overview
You can useVaults.GetOverview to retrieve high-level metadata about a specific vault.
- Go
- JavaScript
- Python
The following example uses the
vaultID variable to specify the unique identifier (ID) of the vault to fetch.Get vault details
You can useVaults.Get to retrieve the complete object for a specific vault.
- Go
- JavaScript
- Python
The following example gets the full details for the vault you fetched in the previous step.