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

09 Oct, 2023 03:28 PM
09 Oct, 2023 02:56 PM
22 Jun, 2022 11:22 AM
02 Feb, 2022 02:22 PM
25 Jan, 2022 11:25 PM

 

31 Dec, 2021 11:42 AM
22 Dec, 2021 06:41 PM
04 Nov, 2021 01:24 AM
30 Oct, 2021 08:29 PM
21 Oct, 2021 08:44 AM
14 Sep, 2021 08:02 AM