Configuring a Cryptographic Provider on the MariaDB Server

  1. Log into the KeyControl Vault for Databases webGUI.

  2. In the top menu bar, click CloudKeys.

  3. Select the MariaDB Key Set that you created, and click the Database Connectors.

  4. Select the database connector that you created and then select Actions > Generate Access Token.

  5. In the Generate Access Token dialog box, click Generate Token.

    The access token is automatically saved to your clipboard.

  6. In your MariaDB Server VM, navigate to the directory where you installed the Policy Agent.

  7. Create a config file mdb.conf inside the /etc directory using the text from the Access Token, as well as the Identity and the Secret from the Generate Access Token dialog box. The file should be in json format similar to the following:

    {
        "identity" : "connector_name",
        "secret" : "S3XsZJe/EPNVf2D/YufOUS2HuOsLfKJBKjp3Zx/JIrODqWYRQaYiFWnqet4lPsW0VcvGSvH7yB9BUZIx
    		Gi7CaM68cZFtw6yY5IvaClwD3344MFy28U9zjc0ayFRoHQi/Dv25xTZ8a2JLlxJRyavO2VNGaCPUZfFsP
    		N4lZg3EZwJ3fNKa7Owfpk0AuHmWmcqcYsxNnUxPuc+VYqXZk17omHzYP/sA86RCv6+825t0EvuQhDHF7P
    		xSiHjn+VShCYKNb+RxAvLglIP/eVx0k/HWWI6/bZPpxwjFtw3tqnJ/8toqPD+f+ZUlYT0mFRuE7BExGFf
    		5LBCaVwf5FXKcOeXdaAg8zvaq0ynUjSB9JVw5FP6ZtFrY22hUcFcYDPITpjMzUzsX9d5BM8BhyTLmoPkj
    		4lMyrSh3/nwGlJqPLj92EylmKsSOtOP6irpN22A2omvTsXUP/pajuGrtUsKqzDdhAj+qmR2IDkSdOQMoS
    		SvAgWylAuS6q8WdMvm"
    }