Retrieving passwords from secrets

(Optional) After a successful installation of the cloud native components, passwords can be retrieved from the secrets that contain them.

About this task

For example, to retrieve the couchdb password, use the following procedure.

oc get secret release_name-couchdb-secret -o json -n namespace | grep password | cut -d : -f2 | cut -d '"' -f2 | base64 -d;echo
Where
  • release_name is the name of your deployment, as specified by the value used for name (OLM UI Form view), or name in the metadata section of the noi.ibm.com_noihybrids_cr.yaml or noi.ibm.com_nois_cr.yaml files (YAML view).
  • namespace is the name of the namespace in which the cloud native components are installed.