Use a dedicated script from VaultOne to perform automated password rotation for your Windows servers. This process involves configuring the credential within the VaultOne application, then installing the script on your target server.
Prerequisites:
- You must have administrative access to your VaultOne instance.
- You must have administrator privileges on the target Windows server.
- For rotating passwords of Active Directory (AD) users, the user running the script must have "Reset Password" permissions and a higher group permission level than the user whose password is being rotated.
Configuring Rotation and Downloading the Script from VaultOne
This procedure covers enabling the feature, downloading the necessary script, and generating the security key required for installation.
- In VaultOne, go to the Passwords menu.
- Select the desired password to view its edit screen.
- Click the Password Rotation tab.
- Select the Use automatic password rotation for this credential checkbox.
- Click Save.
- Return to the Passwords menu and find the credential you just configured.
- Click Actions, then select Password Rotation. A new window opens.
- In the new window, click Download Windows (PowerShell) Script.
- Next, in the same window, click Generate key.
Important:
This key is displayed only once. You must copy it immediately before you close the window.
- Move the downloaded script file to the target Windows server.
Installing the Script on the Windows Server
Complete the process by running the installer script in PowerShell.
- On the target server, open PowerShell with administrator privileges.
- Go to the directory where you saved the downloaded script.
- Open the script file in an editor and add the following line at the beginning of the script:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
- Save and close the script file.
- In your PowerShell window, run the installer script.
- Follow the on-screen prompts. When asked, select whether the user is a local or Active Directory user.
- When prompted, paste the security key you generated from VaultOne.
Warning:
Password rotation is only supported on machines that use TLS protocol versions 1.2 and 1.3.
Back to Top