Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5120

Update --password behavior in tools documenation

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • Server_Docs_20231030
    • Affects Version/s: mongodb-3.0
    • Component/s: tools
    • Labels:
      None

      In 3.0 we've changed the behavior of password prompting in the tools. Previously, running a tool with --password or -p with no following argument (or with "" as the argument) would cause the tool to prompt the user for a password from the command line.

      In >3.0, we've simplified the prompt behavior. If the user enters a username but supplies no password flag, the tools will prompt them for a password if they are using an auth mechanism that requires a password. They can also get this behavior by running -p "", as they could in the old tools. Passing password or p with no argument will cause in error in >3.0 versions

            Assignee:
            allison.moore@mongodb.com Allison Reinheimer Moore
            Reporter:
            kyle.erf Kyle Erf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              8 years, 41 weeks, 2 days ago