Retrieving credentials for basic authentication
You can retrieve the username and password to sign in to the License Service Reporter console. To retrieve the credentials for authentication, use one of the following methods:
Retrieving credentials using the OpenShift console
- Log in to the OpenShift console of the cluster where you deployed License Service Reporter.
- Go to Workloads > Secrets.
- Set the project to All Projects.
- Find the ibm-license-service-reporter-credentials and select it.
- Scroll to the Data section.
- Copy the username and password separately with the Copy to Clipboard option.
Retrieving credentials using the CLI
The login credentials are stored in the secret in the installation namespace of the License Service Reporter.
-
To retrieve the username and password for Linux, run the following commands:
-
For username:
kubectl get secret ibm-license-service-reporter-credentials -o jsonpath={.data.username} -n $NAMESPACE | base64 -d
-
For password:
kubectl get secret ibm-license-service-reporter-credentials -o jsonpath={.data.password} -n $NAMESPACE | base64 -d
-
-
To retrieve the username and password for OSX, run the following commands:
-
For username:
kubectl get secret ibm-license-service-reporter-credentials -o jsonpath={.data.username} -n $NAMESPACE | base64 -D
-
For password:
kubectl get secret ibm-license-service-reporter-credentials -o jsonpath={.data.password} -n $NAMESPACE | base64 -D
-