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

  1. Log in to the OpenShift console of the cluster where you deployed License Service Reporter.
  2. Go to Workloads > Secrets.
  3. Set the project to All Projects.
  4. Find the ibm-license-service-reporter-credentials and select it.
  5. Scroll to the Data section.
  6. 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