LastPass Import
Automatic import of your LastPass vault
Keeper supports automatic import of your LastPass vault by providing your LastPass email, Master Password and MFA code.
LastPass > Keeper Transfer Supported:
  • Transfer of all Passwords
  • Transfer of Folders
  • Transfer of Shared Folders
  • Transfer of Shared Folder permissions (users and teams)
  • File Attachments
Several optional transfer features are supported and documented below.
For importing from other sources see the import command documentation

Import Passwords From LastPass

Run the import --format=lastpass <your_lastpass_email> command in Commander, then enter your LastPass password and MFA code when prompted.
Format
Example
1
import --format=lastpass <your_lastpass_email>
Copied!
1
My Vault> import --format=lastpass [email protected]
2
3
Processing... please wait.
4
... LastPass Password: *******
5
... Multifactor Password: ******
6
7
folder success 8
8
legacy record success 14
9
record success 23LastPass Verification
Copied!
The first time the import command is run, you may get the following notice that LastPass wants to verify the device from which you are connecting.
1
Try again OR look for an email from LastPass to verify it's you.
Copied!
Check the email address associated with your LastPass account and click "verify" to allow Keeper to access the records in your LastPass account.

Importing Record Types

Typed LastPass items are automatically imported as Keeper records with corresponding record types if your Enterprise environment has Record Types activated.
See the LastPass Item Type and corresponding Keeper Record Type in the table below.
LastPass Item Type
Keeper Record Type
Bank Account
Bank Account
Credit Card
Bank Card
Address
Address
Driver's License
Driver's License
Passport
Passport
Social Security
SSN Card
Health Insurance
Health Insurance
Insurance
Health Insurance
Membership
Membership
Email Account
Login
Instant Messenger
Login
Database
Database Credentials
Server
Server Credentials
SSH Key
SSH Keys
Software License
Software License
See Record Types for more information about Keeper Record Types

Importing Share Permissions

If a folder is shared with another user or team in LastPass, the import will apply the same sharing permissions to Keeper teams with the same name, and Keeper users with the same email address.
Shared folder permissions can be re-imported and applied if a new Keeper user or team is added after the initial import.

Apply Shared Folder Permissions

To assign Share Permissions to your imported passwords from LastPass, use the download-membership and apply-membership commands as described below:
Format
Example
1
download-membership --source=lastpass
2
apply-membership
Copied!
1
My Vault> download-membership --source lastpass
2
... LastPass Username: [email protected]
3
... LastPass Password: *******
4
... Multifactor Password: ******
5
Loading shared folder membership for "Folder x"
6
Loading shared folder membership for "Folder y"
7
Loading shared folder membership for "Folder z"
8
3 shared folder memberships downloaded.
9
My Vault> apply-membership
10
3 team(s) added to shared folders
11
2 user(s) added to shared folders
Copied!
Re-importing shared folder permissions does not create duplicate records in the Keeper Vault. The apply-membership command can be run whenever a new Keeper user account or team is created. Shared folder membership will be applied to any new corresponding user accounts and teams.

Transforming Email Domains for Sharing

If your LastPass email domain has changed and you would like to transition to a new email domain when transferring share permissions, you can use the --old-domain and --new-domain optional parameters. Example below:
Example
1
download-membership --source=lastpass --old-domain=acme-old.com --new-domain=acme-demo.com [email protected]
Copied!

Override Imported Shared Folder Permissions

The LastPass download-membership applies the shared folder permissions from LastPass users to your Keeper shared folders, but the permission settings can be overridden during membership download.
To override the "manage records" and "manage users" permissions for all users on all imported shared folders, use the --permissions or --restrictions options.
--permissions allows the permission(s) for all users on all imported shared folder.
--restrictions denies the permission(s) for all users on all imported shared folders.
To set for "manage records" pass r, for "manage users" pass u for both use ru
1
// override enable manage records permission
2
download-membership --souce=lastpass --permissions=r
3
4
// override disable manage users permission
5
download-membership --souce=lastpass --restrictions=u
6
7
// override enable manage records and manage users permissions
8
download-membership --souce=lastpass --permissions=ru
Copied!

Import Top Level Folders as Shared Folders

You can optionally make all top level folders shared folders with specified permissions by passing the --shared and --permissions=<PERMISSIONS> flags.
The available permissions options are:
  • U - manage users permission granted
  • R - manage records permission granted
  • E - edit records permission granted
  • S - share permission granted
  • A - all permissions granted
  • N - no permissions granted
use the letters corresponding to the permissions you want to grand with no spaces or characters in between.
Example
1
import --format=lastpass --shared --permissions=URES [email protected]
Copied!

File Attachments

Import Files

Files attached to LastPass records will be automatically imported and attached to the corresponding record in Keeper.

File Cache

Attachment files can be cached during import so that they do not have to be redownloaded if another import is performed.
To run the import with a file cache, add the --file-cache <DIR> flag. Specify a directory to use as the cache.
To use the cache on a subsequent import, apply the --file-cache flag with the same directory.
Example
1
import --format lastpass --file-cache tmpDir
Copied!
Cached attachment files are encrypted

Record Size Limit

Keeper records have a size limit of 32Kb. if a record from LastPass is larger than this limit, fields will be converted to a text file, starting with the largest field, until the record is smaller than the limit.
Created attachments are named in the following format:
<title of field>_<type of field>_field.txt
For example a "notes" field titled "Instructions" would be converted to an attachment titled:
Instructions_notes_field.txt

Additional Options

Import to a Specified Folder

The contents of your LastPass import can be imported into a specified folder in your Keeper vault. To do this, use the --folder option.
Example
1
import --format lastpass --folder MyLastPassFolder
Copied!
Last modified 25d ago