Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-21901

cbbackup/cbrestore should accept unechoed password in the command prompt

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • feature-backlog
    • 4.5.0, 4.6.0
    • None
    • None

    Description

      If the user is specified but not the password, we should allow the user to input the password unechoed at the command prompt.
      This is frequently desirable because admins often work in teams or with Couchbase on screen shares to collaborate when working on a cluster. It's very desirable for the admin operating the terminal to copy the password from some password management app to the terminal prompt using the clipboard and in this way not share the password with all the other admins on the screen share.
      In python it's super easy:
      import getpass
      if args.user and not args.password
      args.password = getpass.getpass()

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mikew Mike Wiederhold [X] (Inactive)
              mikew Mike Wiederhold [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty