VMware ESXi and vSphere Cluster Management
Configure vCenter Single Sign-On Password, Lockout, and Token Policies
Learn how to review and configure vCenter SSO password, account lockout, and authentication token policies, including permissions, time synchronization, validation, and troubleshooting.
vCenter Single Sign-On (SSO) is the vCenter Server authentication component that manages authentication for vSphere services and identities in an SSO domain. Its policy settings help administrators enforce password hygiene, resist password-guessing attacks, protect accounts, control token lifetimes, and support organizational security requirements.
This lesson covers the three configurable SSO policy categories: password policy, lockout policy, and token policy. The settings described here govern identities managed by the vCenter SSO domain. They do not automatically replace the password rules of an external identity source such as Active Directory.
SSO policy categories
Permissions and navigation
Changing these settings requires SSO administrator privileges. A vCenter role that permits ordinary inventory administration is not necessarily sufficient to administer SSO policies.
- Sign in to the vSphere Client with an account that has SSO administrative privileges.
- Open Administration.
- Open Single Sign-On.
- Select Configuration, then open Policies.
- Select Password Policy, Lockout Policy, or Token Policy.
- Choose Edit, change the required values, and save the configuration.
Before editing production settings, record the existing values, requested values, rationale, approver, expected impact, and change window. Test changes in a nonproduction environment when possible.
Configure the password policy
A password policy defines the rules for password format, complexity, reuse, and expiration. These controls are intended for local SSO-domain users rather than automatically for externally managed identities.
Password policy settings
To change these settings, select Password Policy, choose Edit, enter the description and required password values, and save. A stronger policy must be balanced against administrator usability and the operational needs of service accounts or tools that use local SSO credentials.
Example: strengthening local SSO passwords
An organization may require a longer minimum password, several character categories, a defined maximum lifetime, and a history that blocks reuse of several recent values. Apply the approved settings, then test a noncritical local SSO-domain account with compliant and noncompliant passwords.
Configure the lockout policy
An account lockout policy protects an SSO account after repeated authentication failures. It is a defense against password guessing, but an overly aggressive policy can deny access to legitimate users.
Lockout policy settings
To edit the policy, select Lockout Policy, choose Edit, configure the description, failed-attempt threshold, failure interval in seconds, and unlock duration in seconds, then save.
Consider stale browser credentials, saved passwords, scripts, monitoring systems, and integrated tools when selecting values. A low threshold can reduce brute-force exposure while also locking users because of an old password stored in automation.
Automatic and manual unlock examples
For ordinary administrative accounts, a temporary automatic unlock period can reduce support intervention after accidental failures. For highly sensitive accounts, manual release may be preferable. Pair a zero unlock value with a documented identity-verification and emergency-access process.
Configure the token policy
An SSO token is a time-limited authentication artifact used by vSphere clients and services after authentication. Token policy controls how these artifacts tolerate clock differences, renew, delegate authority, and remain valid.
Token policy settings
To edit these values, select Token Policy, choose Edit, configure clock tolerance in milliseconds, renewal and delegation limits, and bearer and holder-of-key token lifetimes, then save.
Bearer and holder-of-key tokens
Token delegation allows a service to perform actions for an authenticated principal using delegated authority. A solution token is a token identity associated with a vSphere solution or service and may be referenced during delegation. Set delegation limits only as high as documented workflows require.
Time synchronization dependency
Token validation depends on correct time across vCenter Server, directory infrastructure, and connecting clients. Excessive clock skew can make a valid token appear too old, too new, or outside the accepted validation window, producing login or token-validation failures.
Maintain reliable Network Time Protocol (NTP) configuration through the approved design for all relevant systems. Check synchronization status and current time on the client, vCenter Server, and directory services before changing clock tolerance. Increasing tolerance can hide an infrastructure time problem and weaken token timing controls.
Change management and validation
- Record the current configuration before making changes.
- Document requested values, the security or compliance rationale, approver, affected identities and services, rollback approach, and change window.
- Test the change in a nonproduction environment when possible.
- Apply one policy category at a time so that unexpected behavior is easier to identify.
- Confirm that an authorized local SSO-domain user can authenticate.
- Verify expected password length, character, history, expiration, and repeated-character behavior.
- Test the lockout threshold with a noncritical test account, not an emergency administrator account.
- Confirm that normal vSphere client and service operations continue.
- Record the final values and review the settings periodically and after identity-source, directory, or compliance changes.
Troubleshooting common problems
Local SSO user cannot sign in after a password change
- Confirm that the account belongs to the SSO domain governed by the changed policy.
- Check minimum and maximum length, character-category, identical-adjacent-character, and password-history requirements.
- Check whether the password reached its maximum lifetime.
- Reset the password through an authorized administrative process.
- If an SSO administrator account is affected, use the documented emergency-access procedure rather than weakening policy without approval.
SSO account locks unexpectedly
- Look for mistyped credentials and cached credentials in browsers, scripts, automation, or integrated tools.
- Review the failed-attempt threshold and failure interval.
- Wait for automatic unlock when enabled, or use an authorized administrator for manual release when unlock time is zero.
- Remove or update stale stored credentials before testing again.
Token validation fails even though credentials are correct
- Compare current time and synchronization status on the client, vCenter Server, and directory infrastructure.
- Correct NTP or other approved time-source problems.
- Change clock tolerance only after confirming that time is already synchronized and reviewing the security impact.
Users or services authenticate more often than expected
- Identify whether the workflow uses bearer or holder-of-key tokens.
- Review the relevant token lifetime and maximum renewal count.
- Determine whether the renewal limit has been reached and a new token is required.
- Adjust values conservatively, then validate the workflow without making tokens valid longer than necessary.
Delegated service operations fail
- Review the holder-of-key token lifetime and maximum delegation count.
- Confirm that the delegated token has not expired.
- Confirm the service identity and expected solution-token or delegated-token design.
- Increase delegation limits only when a documented workflow requires it and security review approves the change.
External directory users are unaffected by the expected password policy
- Identify the account's identity source and domain.
- Manage password rules for Active Directory or another external directory in that system.
- Use vCenter SSO password policy settings for accounts governed by the local SSO domain.
Key points for administrators
- SSO password, lockout, and token policies solve different security problems and should be reviewed together.
- Local SSO-domain password settings do not automatically govern external directory identities.
- Lockout values must protect against guessing without making stale automation credentials an availability incident.
- Token lifetime, renewal, delegation, and clock-tolerance settings affect both security and operational continuity.
- Reliable NTP is a prerequisite for dependable token validation.
- Always preserve an approved recovery path for SSO administrator access before enforcing expiration or manual unlock behavior.
For the complete navigation and policy workflow in one place, see Configure vCenter SSO Policies.