{"id":6958,"date":"2025-09-16T11:52:30","date_gmt":"2025-09-16T19:52:30","guid":{"rendered":"https:\/\/jetstreamsoft.com\/portal\/?post_type=ht_kb&#038;p=6958"},"modified":"2025-10-09T11:46:49","modified_gmt":"2025-10-09T19:46:49","slug":"how-to-fix-password-expiration-of-iof-rest-credentials","status":"publish","type":"ht_kb","link":"https:\/\/jetstreamsoft.com\/portal\/jetstream-knowledge-base\/how-to-fix-password-expiration-of-iof-rest-credentials\/","title":{"rendered":"How to Fix Password Expiration of IOF REST Credentials"},"content":{"rendered":"\n<p class=\"is-style-info wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">This article applies to JSDR software version(s) 4.3.x onward running on vSphere 8.x or above.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Problem<\/h2>\n\n\n\n<p class=\"\">When the IOF REST password is due to expire (or has expired), a warning message will be presented:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"581\" src=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2025\/09\/iofrestwarning-1024x581.png\" alt=\"\" class=\"wp-image-6981\" srcset=\"https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2025\/09\/iofrestwarning-1024x581.png 1024w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2025\/09\/iofrestwarning-300x170.png 300w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2025\/09\/iofrestwarning-768x436.png 768w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2025\/09\/iofrestwarning-50x28.png 50w, https:\/\/jetstreamsoft.com\/portal\/wp-content\/uploads\/2025\/09\/iofrestwarning.png 1420w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">IOF REST warning.<\/figcaption><\/figure>\n\n\n\n<p class=\"is-style-alert wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">The MSA uses the IOF REST user to communicate with hosts.&nbsp;The IOF REST user password is authenticated by vCenter SSO and expires according to the vCenter password expiration policy which is 90 days by default.<br><br>To review the current vCenter password policy details navigate to: <strong>Administration \u2013&gt; Single Sign On \u2013&gt; Configuration \u2013&gt; password policy \u2013&gt; edit<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution<\/h2>\n\n\n\n<p class=\"\">To reset IOF REST user authentication and stop the warning message from appearing, follow the steps below based on your operating environment:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">For AVS:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">Execute the following run-command from your <em>Azure portal \u2192 AVS private cloud \u2192 Operations \u2192 Run commands \u2192 JSDR configuration<\/em> (latest one): <kbd><strong>Enable-JetStreamRESTUser<\/strong><\/kbd>\n<ul class=\"wp-block-list\">\n<li class=\"\">Leave the username blank or use &#8220;<em>jetstream<\/em>&#8220;<\/li>\n\n\n\n<li class=\"\">This run command will refresh the IOF REST user password and it will update the MSA with a new expiration date (per vCenter).\n<ul class=\"wp-block-list\">\n<li class=\"\">When the password expiration date approaches the warning message will be presented reminding you to execute the command to reset the password before it expires.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">For On-prem:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"\">Download the latest JSTools automation tool kit and deploy it.\n<ul class=\"wp-block-list\">\n<li class=\"\">The latest JStools can be downloaded from the following link:<br><a href=\"https:\/\/jetstreamsoft.com\/portal\/jetstream-knowledge-base\/downloading-and-installing-the-jetstream-software-tools-ova-automation-toolkit\/\">https:\/\/jetstreamsoft.com\/portal\/jetstream-knowledge-base\/downloading-and-installing-the-jetstream-software-tools-ova-automation-toolkit\/<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li class=\"\">SSH into the JSTools VM and navigate to the directory <em>\/opt\/jetstream\/jetdr\/script\/iofrestUser<\/em><\/li>\n\n\n\n<li class=\"\">Execute <kbd><strong>pwsh <\/strong><\/kbd>for PowerShell mode<\/li>\n\n\n\n<li class=\"\">Execute the script: <kbd><strong>.\/manage_iofrest_user.ps1<\/strong><\/kbd><br>(enter the required details like vCenter FQDN\/user_name\/password, MSA IP\/password, etc.)\n<ul class=\"wp-block-list\">\n<li class=\"\">The script will refresh the IOF REST user password and it will update the MSA with a new expiration date (per vCenter).\n<ul class=\"wp-block-list\">\n<li class=\"\">When the password expiration date approaches the warning message will be presented reminding you to execute the script to reset the password before it expires.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"is-style-info wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\"><strong>Note<\/strong>: The script can be uploaded to the MSA manually using WinSCP, and from there it can be executed (using the same operational steps described above).<\/p>\n\n\n\n<p class=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem When the IOF REST password is due to expire (or has expired), a warning message will be presented: Solution To reset IOF REST user authentication and stop the warning message from appearing, follow the steps below based on your operating environment: For AVS: For On-prem:<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"ht-kb-category":[245],"ht-kb-tag":[223],"class_list":["post-6958","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to","ht_kb_tag-io-filter-vcenter-plugin"],"_links":{"self":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/6958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/comments?post=6958"}],"version-history":[{"count":12,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/6958\/revisions"}],"predecessor-version":[{"id":7020,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb\/6958\/revisions\/7020"}],"wp:attachment":[{"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/media?parent=6958"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb-category?post=6958"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/jetstreamsoft.com\/portal\/wp-json\/wp\/v2\/ht-kb-tag?post=6958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}