Skip to content

Change Password through CLI Configuration:

You can change passwords by directly modifying configuration files on your Privacera instance.

  1. SSH into Privacera Instance :

    SSH into the instance where Privacera is installed

  2. Create or edit the vars.password.yml file:

    Bash
    vi ~/privacera/privacera-manager/config/custom-vars/vars.password.yml
    

  3. Add or update the following variables with the new passwords:

    YAML
    1
    2
    3
    PORTAL_PADMIN_PASSWORD: "<new portal password>"
    RANGER_ADMIN_PASSWORD: "<new ranger password>"
    RANGER_USERSYNC_PASSWORD: "<new ranger password>"
    

    Password Variable Descriptions:

    • PORTAL_PADMIN_PASSWORD: Sets the admin password for the Privacera Portal.

    • RANGER_ADMIN_PASSWORD: Sets the admin password for Ranger Admin.

    • RANGER_USERSYNC_PASSWORD: Sets the password for the Ranger UserSync service.

    • USERSYNC_RANGERUSERSYNC_PASSWORD: This property is deprecated and should no longer be used.

    After all the changes are done you need to update Privacera Manager platform instance by following the commands

    Step 1 - Setup which generates the helm charts. This step usually takes few minutes.

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh setup
    
    Step 2 - Apply the Privacera Manager helm charts.
    Bash
    cd ~/privacera/privacera-manager
    ./pm_with_helm.sh upgrade
    
    Step 3 - Post-installation step which generates Plugin tar ball, updates Route 53 DNS and so on.

    Bash
    cd ~/privacera/privacera-manager
    ./privacera-manager.sh post-install
    

Comments