[MXS-4242] At startup nosqlprotcol should optionally create a default NoSQL user. Created: 2022-08-11 Updated: 2022-09-06 Resolved: 2022-09-02 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | nosqlprotocol |
| Affects Version/s: | None |
| Fix Version/s: | 22.08.1 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | Johan Wikman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Epic Link: | MongoDB Protocol Support |
| Sprint: | MXS-SPRINT-164, MXS-SPRINT-165 |
| Description |
|
When nosqlprotocol is started with the following configuration
it should check whether the NoSQL account database is empty and if it is, it should create a a NoSQL user the_user with the password the_password, and give it the NoSQL capabilities corresponding to what SHOW GRANTS reports for the user. With this functionality, the bootstrapping of a secure nosqlprotocol installation is significantly simplified. All that needs to be done is:
Without this functionality, the creation of a secure nosqlprotocol installation requires MaxScale needs to be started multiple times, with the MaxScale configuration file edited in between. |