Newer documentation is now live.You are currently reading an older version.

Obtain MariaDB credentials for IAM

Available since MCC 2.22.0 (11.6.0)

To obtain the MariaDB credentials for IAM, use the MOSK management binary:

./container-cloud get iam-creds --mgmt-kubeconfig <pathToManagementClusterKubeconfig>

Example of system response:

IAM DB credentials:
MYSQL_DBADMIN_PASSWORD: foobar
MYSQL_DBSST_PASSWORD: barbaz

Caution

Credentials provided in the system response allow operating MariaDB with the root user inside a container. Therefore, use them with caution.