Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4242

At startup nosqlprotcol should optionally create a default NoSQL user.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 22.08.1
    • Component/s: nosqlprotocol
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            Assignee:
            johan.wikman Johan Wikman
            Reporter:
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.