Retrieving credentials

As a user, you must authenticate the REST APIs for Active file management (AFM).

To retrieve the credentials (username and password) and use it for authentication, run the following OC command in the ibm-spectrum-scale namespace:
oc get secret/ibm-spectrum-scale-gui-secret -n ibm-spectrum-scale -o go-template --template="{{.data.username|base64decode}}"
oc get secret/ibm-spectrum-scale-gui-secret -n ibm-spectrum-scale -o go-template --template="{{.data.password|base64decode}}"