This article explains how to refresh the IOF REST user password when it is nearing expiration or has expired, and how to update its corresponding details in the MSA.
Problem
The IOF REST user password can expire based on the vCenter password policy. When the IOF REST password is due to expire or has expired, a warning message will be presented:

Solution
Follow the procedure below that matches your deployment type. Each procedure refreshes the IOF REST user password in vCenter and updates the MSA with the new password expiry information.
AVS Deployments:
- In Azure portal, open the AVS private cloud.
- Go to Operations → Run commands → JSDR configuration and select the latest command set.
- Run the following command: Enable-JetStreamRESTUser
- When prompted for the username, leave the field blank or enter: jetstream
- Confirm that the run command successfully completes. The command will refresh the password in vCenter and update the MSA with the new expiry date.
On-Premises Deployments:
Method 1: Refresh from MSA SSH(from JetDR 5.0.4 and above)
- Log in to the MSA appliance over SSH as the
adminuser. - Execute the command: sudo pwsh /opt/fio/vme2/python/manage_iofrest_user.ps1
- When prompted, enter the required information:
- vCenter FQDN
- vCenter username and password
- MSA IP address
- MSA password
- Confirm that the script successfully completes and updated expiry information is reflected in the MSA.

Method 2: Refresh using JSTools
- Download and deploy the latest JSTools automation toolkit.
- Obtain the latest JSTools OVA from:
Download and Install the JetStream Software Tools OVA (Automation Toolkit).
- Obtain the latest JSTools OVA from:
- SSH into the JSTools VM.
- Go to the IOF REST user script directory: cd /opt/jetstream/jetdr/script/iofrestUser
- Start PowerShell with the command: pwsh
- Run the script: ./manage_iofrest_user.ps1
- When prompted, enter the required information:
- vCenter FQDN
- vCenter username and password
- MSA IP address
- MSA password
- Confirm that the script successfully completes and updated expiry information is reflected in the MSA.
Validation
- Confirm that the IOF REST password expiration warning no longer appears in JetStream DR.
- Verify that the MSA displays the updated expiry date for the IOF REST user.
- If the warning persists, rerun the applicable procedure above and confirm that the vCenter credentials, MSA IP address, and MSA password were entered correctly.