Skip to main content

Manage vaults using 1Password SDKs Beta

The 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:

Get a vault overview

You can use Vaults.GetOverview to retrieve high-level metadata about a specific vault.

The following example uses the vaultID variable to specify the unique identifier (ID) of the vault to fetch.

Get vault details

You can use Vaults.Get to retrieve the complete object for a specific vault.

The following example gets the full details for the vault you fetched in the previous step.

Was this page helpful?