The 1Password Community forums are in read-only mode from Jan 28th - Feb 4th, 2025. Find out more.

Script or template to generate multiple logins at once?

skaffen
skaffen
Community Member

Hi

Is there a method to generate multiple logins at once? I frequently create virtual hosts. Each host needs around 6 different user accounts ie

Linode manager login
root password
ssh login user password
mysql root password
mysql user password

What i'd like to do is be able to run a script, enter a name 'newserverblah' and then have a folder called newserverblah created in 1Password containing the 5 different logins with generated passwords, named newserverblah.

Is it possible via Applescript or some sort of templating?

Cheers
greg.


1Password Version: 5.3
Extension Version: Not Provided
OS Version: 10.10.5
Sync Type: iCloud

Comments

  • MrC
    MrC
    Volunteer Moderator
    edited August 2015

    @skaffen,

    I can think of a way to generate a 1PIF file that contains the entries, and it can be imported into your 1Password. However, there is no mechanism to gain access to 1Password's password generator. The passwords could be generated from some other means, however.

    The Folders could be created, however, there is also no mechanism to detect existing folder names, so duplicate folder names are possible.

    Would that work?

  • skaffen
    skaffen
    Community Member

    @mrc,

    Thank you, that's an approach I hadn't considered. I'll have a play around with 1PIF files.

  • MrC
    MrC
    Volunteer Moderator

    @skaffen,

    You're welcome. What I was thinking was either using an existing converter where you feed it some simple CSV that contains a generated password, or create a new one that does this specifically.

    The nice thing about using the existing converter is that you don't have to learn about the internals of the 1PIF format. It can handle the custom field generation (we'd need a new converter for your purposes - easy enough for simple Logins), and it will handle the Folder creation.

  • skaffen
    skaffen
    Community Member

    @MrC

    I see. Well, i have confidence in your utility, it perfectly imported 800 odd KeepPassX entries for me.

    I'll see if i can script something in bash to produce a populated CSV file and pass it through the convertor.

    Cheers!

  • Drew_AG
    Drew_AG
    1Password Alumni

    @skaffen, we'll be interested to hear how it all works out for you! :)

This discussion has been closed.