End-of-Life (EoL)

Change the Node Admin Password

Follow these instructions to change the node admin password after you install a node.
By default, after installing a node, the password for the database server is the same as the admin user and password on the App server. For security reasons, you might want to change this password.
  1. Open a command line window.
  2. Make the following API call.
    curl --request POST \ --url https://<SERVER>:<PORT>/users/setpw \ --header 'Remote-Database-Authorization: <Base64-DB-SECRET>' \ --header 'content-type: application/json' \ --data '{ "id": "<userName>", "password": "<newPassword>"}'
    Parameter
    Description
    Server
    The hostname or IP address of the database server node.
    Port
    The port through which you are connecting. Do not include the http or https prefix.
    Remote-Database-Authorization
    The header you need to provide to circumvent user authentication.
    DB-SECRET
    The 10-character string that you defined when you installed the main database server.
    When sending the API call, make sure that the string you insert is encoded as base-64.
    id
    The name of the user whose password you want to change.
    password
    The new password for the admin user.

Recommended For You