Obtaining the default superuser credentials
When a DataStax service is created in watsonx.data, a default superuser credential for Cassandra is automatically generated in Kubernetes secret within the namespace. An OpenShift user with secret viewer privileges in that namespace can read the secret and extract the credentials.
To obtain the default superuser credentials for a DataStax service using the OpenShift CLI (oc), run the following command:
oc extract secret/<SERVICE_ID>-superuser -n $PROJECT_CPD_INST_OPERANDS --to=-
Where <SERVICE_ID> is the unique ID of the DataStax service (such as datastax123). To get the service ID watsonx.data, go to Infrastructure Manager, select your service, and locate the Service ID under Service details.