Any way to export a single vault (private) and/or only passwords with a specific tag

lifostacklifostack
Community Member
edited September 23 in CLI

Hello all, I'm hoping to find out if i can export all passwords from a single vault (versus an export of ALL passwords in their entirety) OR if its possible to export all passwords tagged with a specific tag (ex: private)

using the 1password desktop app for macos, latest version, but open to any solutions (like a CLI solution or otherwise)

thx


1Password Version: 8.9.4
Extension Version: Not Provided
OS Version: macos 12.6
Browser:_ Not Provided

Comments

  • MrCMrC
    Volunteer Moderator
    edited September 23

    @lifostack

    The only way to retrieve just the data from a single vault in an account is via the CLI. Any export currently includes all vaults in an account.

    I read in a post last night that the 1Password folks are working on making this better, but there is no time frame yet.

  • andi.t_1Pandi.t_1P

    Team Member

    Hi @lifostack , thanks for reaching out, we are always happy to see interest in the CLI solutions! Once you have installed 1Password CLI, you could get data from the private vault by executing op item list --vault Private. If you are interested in 'passwords' only you could retrieve a CSV list of the username, and password for all logins in the Private vault as such op item list --categories Login --vault Private --format json | op item get - --fields label=username,label=password.

    Hope this suits your needs,
    Andi

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file