A lightning-fast password manager for the command line and for the Web. The data is saved in an online vault at passlanevault.com. There is also a web interface that you can use to access your credentials on any device.
You can use Passlane in two different modes:
The Passlane Vault is secured by Auth0 and OAuth 2.0. All passwords are stored encrypted and the master password is not stored on our servers. The master password is only used locally to decrypt the password values and never sent to our servers.
If you want to take advantage of the Passlane Vault, head over to passlanevault.com and sign up for a free account. Once you have the account, run
bash
passlane login
to connect the CLI with the vault.
passlane
to your $PATHcargo build --release
passlane
binary to your $PATH
```bash $ passlane -h passlane A password manager and a CLI client for the online Passlane Vault
USAGE: passlane [SUBCOMMAND]
OPTIONS: -h, --help Print help information
SUBCOMMANDS: add Adds a new credential to the vault. csv Imports credentials from a CSV file. delete Deletes one or more credentials by searching with the specified regular expression. help Print this message or the help of the given subcommand(s) keychain-push Pushes all credentials to the OS specific keychain. migrate Migrate from legacy local credential store to passlane version 1.0 format login Login to passlanevault.com password Change the master password. push Pushes all local credentials to the online vault. show Shows one or more credentials by searching with the specified regular expression. ```
To generate a new password without saving it. The generated password value is also copied to the clipboard.
passlane
To save a password from clipboard:
passlane add -c
To generate a new password and save it with one command:
passlane add -g
You can search and show saved passwords with regular expressions
passlane show <regexp>
Run passlane show foobard.com
--> shows foobar.com's password and alco copies the value to the clipboard.
If the search finds more than one matches:
bash
$ passlane show google.com
Please enter master password: *********
Found 9 matches:
+---+--------------------------------+------------------------------------+
| | Service | Username/email |
+=========================================================================+
| 0 | https://accounts.google.com | jack@megacorp.com |
|---+--------------------------------+------------------------------------|
| 1 | https://accounts.google.com | jack1p@gmail.com |
|---+--------------------------------+------------------------------------|
| 2 | https://accounts.google.com | jck@hey.com |
|---+--------------------------------+------------------------------------|
| 3 | https://accounts.google.com | jackrussel@gmail.com |
|---+--------------------------------+------------------------------------|
To copy one of these passwords to clipboard, please enter a row number from
the table above, or press q to exit: 3
Password from index 3 copied to clipboard!
or alternatively
Passlane uses the keyring crate to sync credentials to the operating system's keychain. Syncing should work on Linux, iOS, macOS, and Windows.
Use option add
command together with option -k
to save the last generated password to the Passlane storage file and to the keychain:
passlane add -k
To sync all Passlane stored options to the keychain use the keychain-push
command:
passlane keychain-push
You can import credentials from a CSV file. With this approach, you can easily migrate from less elegant and often expensive commercial services.
First, make sure that the CSV file has a header line (1st line) with the following column titles:
The service
field is the URL or name of the service. When importing from Dashlane, the only necessary preparation is to rename url
to service
.
To export the credentials to a CSV file and import the file into Passlane:
bash
passlane csv <path_to_csv_file>
Here are links to instructions for doing the CSV export: