Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6066

Implement protectConnectionStrings option

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.34.0
    • Affects Version/s: None
    • Component/s: Preferences
    • None
    • 5
    • Iteration Lobster, Iteration Manatee, Iteration Narwhal
    • Needed
    • Hide

      Compass supports a "protectConnectionStrings" option now. If this option is set (in the global config file, on the command line, or after COMPASS-6262 in the settings UI), Compass will not expose credentials in connection strings for saved connections. This includes not being able to edit them in the connection form, not being able to copy the connection string in the UI, and the credentials being omitted when using the Export to Language functionality.

      Show
      Compass supports a "protectConnectionStrings" option now. If this option is set (in the global config file, on the command line, or after COMPASS-6262 in the settings UI), Compass will not expose credentials in connection strings for saved connections. This includes not being able to edit them in the connection form, not being able to copy the connection string in the UI, and the credentials being omitted when using the Export to Language functionality.

      Note that this involves at least the connection form, export-to-language, and the connection export UI/CLI once those exist. We decided to not apply this to new connections created in the current session.

      This includes adding e2e tests.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: