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

Investigate changes in SERVER-3788: version of auth() that prompts for password so it is never displayed

      Description

      Downstream Change Summary

      db.auth() now accepts just a username as an argument, leading to the passwordPrompt to request for the password immediately after.

      MongoDB Enterprise > db.auth('user')
      Enter password:
      1

      • Not an enterprise only feature - available in community too.

      Description of Linked Ticket

      Proposed syntax:

      > db.auth('username')
      Enter password:

      Uses askPassword()

      Suggested by Dan C

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            jeffrey.allen@mongodb.com Jeffrey Allen
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 9 weeks, 5 days ago