Configure the Password Complexity Policy for vCenter Single Sign-On
Define the password format requirements for the vCenter Single Sign-On built-in identity provider for
VMware Cloud Foundation
.The password complexity policy applies only to user accounts in the
vsphere.local
domain of the vCenter Single Sign-On built-in identity provider. The policy does not apply to local system accounts and administrator@vsphere.local
.Setting | Default Value |
---|---|
Restrict reuse | 5 |
Maximum length | 20 |
Minimum length | 8 |
Special characters | 1 |
Alphabetic characters | 2 |
Uppercase characters | 1 |
Lowercase characters | 1 |
Numeric characters | 1 |
Identical adjacent characters | 1 |
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.
- Modify the settings 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" $minLength = "8" $maxLength = "20" $minAlphabetic = "2" $minLowercase = "1" $minUppercase = "1" $minNumerical = "1" $minSpecial = "1" $maxIdenticalAdjacent = "1" $history = "5"
- Perform the configuration by running the command in the PowerShell console.Update-SsoPasswordComplexity -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -domain $sddcDomainName -minLength $minLength -maxLength $maxLength -minAlphabetic $minAlphabetic -minLowercase $minLowercase -minUppercase $minUppercase -minNumeric $minNumerical -minSpecial $minSpecial -maxIdenticalAdjacent $maxIdenticalAdjacent -history $history