Skip to main content
All CollectionsComputers, Servers and MachinesLinux
How to use password rotation for Linux/Unix servers.
How to use password rotation for Linux/Unix servers.
Updated over 2 weeks ago

In this article, you will learn how to execute the function of password rotation in Linux/Unix servers.

Installing the script (Shell Script)

First step: enable Password Rotation

Some passwords may have password rotation turned off. To activate, access the Passwords menu and click on the password you want to edit:

Once done, access the Password Rotation tab and enable the option that appears and click Save:

Second step: Access Password Rotation

Navigate to the Passwords menu and look for the desired credential to rotate. Click Actions -> Password Rotation.

Third step: Download the file

In the window that opens, click the Download Linux (Shell) Script button

After the download is complete, move the file to the computer that will perform the password rotation process.

Fourth step: Generate a key

In the vault again, click on the Generate key button.

  • This key will be used for communication between your computer and your safe to carry out the password rotation process.

  • Copy the key.

Note: This key is displayed while the window is open, after closing the window the key cannot be recovered, requiring the creation of another one.

Fifth step: Make settings on the server

Connected to the computer that will perform this rotation, navigate to the directory where the script is located and run the script with elevated privileges (sudo):

  • Add execute permission (chmod) if necessary

$ chmod +x VaultOnePasswordRotationInstaller.sh

After the script installation is complete, the rotation will be done on the next script run.

In case of any questions, contact us: [email protected]

Did this answer your question?