How do I update the admin-user password for NSP XML API access?
Purpose
Perform this procedure to update the admin password in the NSP mediation secret. The password must be current in order to permit NSP cluster access to the NFM-P XML API.
Steps
1 |
Log in as the root or NSP admin user on the NSP deployer host. |
2 |
Open a console window. |
3 |
Enter the following: # cd /opt/nsp/NSP-CN-DEP-release-ID/bin ↵ |
4 |
Enter the following to create a base64 hash of the NFM-P admin-user password: # echo -n ‘password’ | base64 ↵ where password is the admin user password The hashed password is displayed. |
5 |
Record the hashed password. |
6 |
Enter the following: # ./nspdeployerctl secret -n psaRestricted -s nsp-mdt-mediator-secret -p XML_API_PASSWORD update ↵ The following prompt is displayed: Please enter the XML_API_PASSWORD: |
7 |
Enter the hashed password. The following prompt is displayed: Please confirm the XML_API_PASSWORD: |
8 |
Re-enter the hashed password. The password is updated in the NSP mediator secret. |
9 |
Close the console window. End of steps |