Update Admin Credentials for Web UI¶
This document explains how to update the admin credentials for the diagnostics tool's Web UI. Ensure that you have the necessary permissions and access rights to make these changes.
Note
- This guide applies only if basic authentication is enabled.
Default Credentials:
Username: admin
Password: welcome1
STEP 1: Generate Password ¶
The Diagnostic Server requires a hashed password for security purposes. You can generate a hashed password as follows:
I. Install the Werkzeug
Python library:
Bash | |
---|---|
Bash | |
---|---|
STEP 2: Update Generated Password ¶
After generating the password in STEP 1, update it in the Diagnostic Server configuration as follows:
I. Open the privacera-diagnostics.yml
file to update credentials diagnostics tool:
Bash | |
---|---|
II. Uncomment and update the following variables in vars.privacera-diagnostics.yml
DIAG_SERVER_BASIC_AUTH_ENABLED
: Set it to"true"
.-
DIAG_SERVER_BASIC_AUTH_PASSWORD
: Replace this with the hashed password generated in STEP 1, e.g.,<GENERATED_HASHED_PASSWORD>
.
III. Save and close the file.