Use CLI to specify Login Name

Kaleb Hawkins's Avatar

Kaleb Hawkins

13 Feb, 2020 01:53 AM

Is there a way to specify the login name (not generate one) to use for a site via the CLI? For example, I have a site and a login name and I want to use the CLI to specify the login name to use not generate one. I thought mpw -u "name here" -pi -P "username" <sitename> would get me what I wanted but it generates a login name instead. Thanks in advance!

  1. Support Staff 1 Posted by Maarten Billemo... on 13 Feb, 2020 03:35 AM

    Maarten Billemont's Avatar

    To save a login name for a site, use:

    mpw -pi -tP [email blocked] apple.com
    

    Afterwards, you can use the regular method of looking up a username:

    mpw -pi apple.com
    
  2. 2 Posted by Kaleb on 13 Feb, 2020 01:14 PM

    Kaleb's Avatar

    Thanks for the quick response. When I do that I get the message below.

    [ ╚▒╗◓ ]: Missing encrypted state.
    Couldn't generate site result.

    I am using Master Password v2.6-cli-5-0-g344771db installed from homebrew on OSX if that is any help.

  3. 3 Posted by Kaleb Hawkins on 13 Feb, 2020 01:17 PM

    Kaleb Hawkins's Avatar

    Thanks for the quick response when I try that I get the message below

    [ ╚▒╗◓ ]: Missing encrypted state.
    Couldn't generate site result.

    I am using the homebrew installed version Master Password v2.6-cli-5-0-g344771db on OS X, not sure if this is any help.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

22 Feb, 2020 12:21 AM
16 Feb, 2020 05:17 PM
14 Feb, 2020 10:20 PM
13 Feb, 2020 01:17 PM
03 Feb, 2020 09:41 PM