Passlane
A lightning-fast password manager for the command line. 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.

Features
- Generate and save passwords
- Full management features
- Online storage
- Sync the generated password to OS specific keychains, including Mac's iCloud Keychain
- Import passwords from CSV files
Online Vault
You can use Passlane in two different modes:
- As a standalone CLI tool that stores the credentials on your local disk.
- Use the Passlane Vault as storage, and have the credentials safely available in all your devices and computers.
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
to connect the CLI with the vault.
Installation
- Download the latest release
- Unpack the archive
- Place the unarchived binary
passlaneto your $PATH - Enjoy!
- Optionally sign up in passlanevault.com to enable online storage and have the credentials data available to all your devices.
To compile from sources
- Install rust development environment: rustup
- Clone this repo
- Build
cargo build --release - Add the built
passlanebinary to your$PATH
Usage
)
Generating and saving passwords
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
Using saved credentials
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:
| | | |
+=========================================================================+
| | | |
||
| | | |
||
| | | |
||
| | | |
||
or alternatively
- Let MacOS propose the saved password. It knows it because Passlane can also sync to the keychain. See below for mor info.
Syncing with the system Keychain
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
Migrating from 1Password, LastPass, Dashlane etc.
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:
- username
- password
- service
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:
Here are links to instructions for doing the CSV export:
Roadmap
1.1
- Master password update for the online vault
2.0
- multiple vaults support
- web UI for the online service