Importing arbitrary JSON-formatted password data

I have a home-grown (I know, I know) password manager and I’d like to migrate to Bitwarden. The data is gpg-encrypted and kept in git, much like password-store, except the contents are encoded as JSON so that I can store more secret data than just a password. Example of the schema:

{
    "group": "email",
    "password": "hunter2",
    "pin": "12345",
    "email": "[email protected]",
    "username": "rpdelaney",
    "url": "https://site.com/login.php"
}

Can anyone give me some pointers on how I could import this data into bitwarden? I see guides for lastpass migration, but my schema seems to be different. I am not averse to writing some of my own code to transform the schema before attempting to import it in the client. Thanks.

Hi Ryan - welcome!

You can find the details for conditioning a JSON file so that Bitwarden will import it here:

https://bitwarden.com/help/article/condition-bitwarden-import/

Hope that helps!

1 Like

Looks perfect. Thank you!

2 Likes