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

Update --password behavior in tools documenation

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • Server_Docs_20231030
    • mongodb-3.0
    • tools
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 30 weeks, 1 day ago