[COMPASS-6216] Support username and password CLI arguments Created: 20/Oct/22  Updated: 29/Oct/23  Resolved: 14/Nov/22

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.35.0

Type: Task Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-6068 Implement forceConnectionOptions option Closed
Documented
Related
related to COMPASS-6069 Implement command-line connection str... Closed
related to COMPASS-6068 Implement forceConnectionOptions option Closed
Epic Link: COMPASS-5816
Story Points: 2
Documentation Changes: Needed
Documentation Changes Summary:

This adds on to COMPASS-6069, documented by DOCSP-25800. We do what the engineering description suggests.

Sprint: Iteration Octopus

 Description   

To support cases where the connection string is created dynamically, e.g. credentials are fetched from a secrets storage service, and there is no simple way to url-escape username and password, we should give users the option to specify connection string username and password as separate arguments as we do in mongosh so they can pass them in without URL-escaping, e.g.:

mongodb-compass <connection-string> --username <username> --password <password>



 Comments   
Comment by Githook User [ 01/Dec/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add --username and --password for auto-connect COMPASS-6216 (#3748)
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/44c3d46945449ca40aa166a18384964c2ee6b468

Comment by Githook User [ 25/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add --username and --password for auto-connect COMPASS-6216 (#3748)
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/44c3d46945449ca40aa166a18384964c2ee6b468

Comment by Githook User [ 18/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add --username and --password for auto-connect COMPASS-6216 (#3748)
Branch: reduce-collection-header-size
https://github.com/mongodb-js/compass/commit/44c3d46945449ca40aa166a18384964c2ee6b468

Comment by Githook User [ 17/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add --username and --password for auto-connect COMPASS-6216 (#3748)
Branch: compass-validation-components
https://github.com/mongodb-js/compass/commit/44c3d46945449ca40aa166a18384964c2ee6b468

Comment by Githook User [ 14/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add --username and --password for auto-connect COMPASS-6216 (#3748)
Branch: 6293-dev
https://github.com/mongodb-js/compass/commit/44c3d46945449ca40aa166a18384964c2ee6b468

Comment by Githook User [ 14/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add --username and --password for auto-connect COMPASS-6216 (#3748)
Branch: main
https://github.com/mongodb-js/compass/commit/44c3d46945449ca40aa166a18384964c2ee6b468

Comment by Githook User [ 14/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add --username and --password for auto-connect COMPASS-6216
Branch: 6216-dev
https://github.com/mongodb-js/compass/commit/f8ba180020259b481adfc4a911c93f66c944411d

Comment by Githook User [ 14/Nov/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add --username and --password for auto-connect COMPASS-6216
Branch: 6216-dev
https://github.com/mongodb-js/compass/commit/92d4e495aa9dd5ab694a82c979ceadd9903fcc39

Generated at Wed Feb 07 22:42:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.