[SERVER-15587] Shell command line authentication credentials should be available to db.auth() method Created: 09/Oct/14 Updated: 20/Oct/23 Resolved: 20/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Blake Mitchell | Assignee: | Backlog - Security Team |
| Resolution: | Won't Do | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Security
|
| Participants: |
| Description |
|
When creating new connections in a shell .js script, it is not possible to use the authentication credentials passed in on the command line. If a new mechanism were made available to db.auth(), e.g. "commandLine", it would no longer be necessary to embed user credentials in shell scripts that need to open multiple connections. |