Configure the Password Expiration Policy for vCenter Single Sign-On
Define the interval of time before the password of a user account in the
vsphere.local
domain in VMware Cloud Foundation
expires and a change is enforced.The password expiration policy applies only to the
user accounts in the
vsphere.local
domain for the vCenter Single
Sign-On built-in identity provider. The policy does not apply to local system accounts
and administrator@vsphere.local
.SDDC Manager creates dedicated service accounts
within the vCenter Single Sign-On built-in identity provider. Changing the password
expiration policy affects these service accounts too.
Setting | Default Value |
---|---|
Maximum lifetime | 90 |
UI Procedure
- Log in to the management domain vCenter Server athttps://<management_vcenter_server_fqdn>/uiby using an account withAdministratorprivileges.
- From the vSphere Client Menu, selectAdministration.
- In theSingle sign onsection, clickConfiguration.
- On theConfigurationpage, click theLocal accountstab.
- In thePassword policysection, clickEdit
- Enter a value for theMaximum lifetimesetting according to the requirements of your organization and clickSave.
PowerShell Procedure
- Start Windows PowerShell.
- Replace the values in the sample code and run the commands in the PowerShell console.$sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io" $sddcManagerUser = "administrator@vsphere.local" $sddcManagerPass = "VMw@re1!" $sddcDomainName = "sfo-m01" $maxDays = "90"
- Perform the configuration by running the command in the PowerShell console.Update-SsoPasswordExpiration -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -domain $sddcDomainName -maxDays $maxDays