Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
MXS-SPRINT-164, MXS-SPRINT-165
Description
When nosqlprotocol is started with the following configuration
...
|
nosqlprotocol.user=the_user
|
nosqlprotocol.password=the_password
|
nosqlprotocol.authentication_required=true
|
nosqlprotocol.authorization_enabled=true
|
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:
- Create the user in MariaDB.
- Configure nosqlprotocol in the MaxScale configuration file as above.
- Start MaxScale.
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.