Mitro CLI is a better command line interface client for Mitro password manager.
You can easily install this tool using NPM:
npm install -g mitro-cli
Once installed you can invoke the mitro command from your terminal:
If no command is provided Mitro CLI will start in interactive mode, in this mode you are guided through some simple menus to access your stored data. This is the equivalent of running
In order to interact with Mitro servers you will need to provide your user id and password. If those are not provided the interface will ask you for it anytime you try to execute a command.
Example using username/password as command line arguments
mitro list --uid email@example.com --password mypassword
Creating a ~/.mitro-clirc file
Alternatively, you can create a
.mitro-clirc file inside your $HOME directory and declare all your options there using json format.
You could also add your password to the .mitro-clirc file but storing your master password as plain text is certainly not a great idea.
Running only the mitro command from the terminal brings you into the interactive mode, where you will be guided through some simple menus to access your stored data.
A set of commands is also available to interact with the mitro server:
mitro browseStarts the CLI interactive mode, using an interface to navigate through your Mitro data
mitro listList all your secrets and groups
mitro listsecretsList all your secrets
mitro listgroupsList all your groups
mitro show SECRET_IDShows the content of a secret, you can find SECRET_ID using one of the list commands above
Why creating another cli for Mitro?
I was in the search of an open-source password manager for a long time. Naturally, as soon as I heard the news about Mitro open-sourcing all their code, I jumped right in to try it but I was disapointed with the state of the available cli tool - one of my most wanted features.
What you find in this repository is the effort to have an user-friendly command line interface for managing your passwords.
Copyright (c) 2014 Ruy Adorno. Licensed under the MIT license.