VMware ESXi and vSphere Cluster Management
Configure vCenter Single Sign-On Password, Lockout, and Token Policies
Learn how to configure vCenter SSO password, lockout, and token policies, including local-account scope, security tradeoffs, validation, and troubleshooting.
vCenter Single Sign-On (SSO) is the vCenter Server authentication service that validates identities and issues authentication tokens for vSphere components. Its policy settings centralize important authentication controls for the vCenter SSO domain, commonly named vsphere.local.
This lesson explains how to view and modify the three SSO policy categories: password, lockout, and token policies. The examples apply to local SSO accounts. They do not replace the password and lockout policies enforced by an external identity provider such as Active Directory.
Policy categories and scope
Choose values that balance security, availability, administrator usability, and compliance requirements. A restrictive setting can reduce attack exposure but may also interrupt automation or make recovery harder. A permissive setting can improve compatibility while increasing the time or opportunity available to an attacker.
Permissions and preparation
Changing these settings requires an account with vCenter Single Sign-On administrative privileges. Before editing a policy:
- Confirm that you have an authorized SSO administrator account.
- Maintain another authorized administrator account or a documented recovery path before testing restrictive lockout controls.
- Record the current values and the approved target values.
- Use your organization's change-management and security-review process.
- Confirm that time synchronization is healthy before changing token clock tolerance.
In the vSphere Client, sign in to the vCenter Server management interface and open Administration > Single Sign-On > Configuration > Policies. The page provides separate entries for Password Policy, Lockout Policy, and Token Policy.
Configure the password policy
A password policy defines how local SSO users create and maintain passwords. It can enforce password age, prevent recent-password reuse, require a minimum or maximum length, require several character categories, and limit adjacent repeated characters.
Password-policy workflow
- Open Administration > Single Sign-On > Configuration > Policies.
- Select Password Policy.
- Select Edit.
- Enter the required policy description.
- Configure the password settings according to the approved standard.
- Review the intended effect, then save the policy.
- Verify that the save completes successfully and that the displayed values match the approved configuration.
For example, a local SSO hardening standard might require an approved expiration period, a minimum length, several character classes, password-history protection, and a limit on consecutive identical characters. These rules affect vsphere.local users, not Active Directory users.
After saving, test the rules with a noncritical local SSO test account where feasible. Test both an intentionally invalid password and an approved password. Do not use the only SSO administrator account for exploratory testing.
Configure the lockout policy
A lockout policy limits repeated failed sign-in attempts for SSO accounts. It helps resist password-guessing attacks, but an overly aggressive policy can lock accounts because of typing errors, outdated saved credentials, or scripts that repeatedly submit an old password.
Lockout-policy workflow
- Open the Policies page through Administration > Single Sign-On > Configuration > Policies.
- Select Lockout Policy.
- Select Edit.
- Enter the required policy description.
- Set the failed-attempt threshold, failure observation interval, and unlock duration.
- Save the policy and verify the displayed values.
Compare a temporary automatic unlock with an unlock duration of zero. Automatic recovery can reduce administrative workload, while zero can provide tighter control when account compromise is a serious concern. If using zero, document the authorized administrative procedure for restoring access.
Test lockout behavior carefully with a test account. Never risk losing access to the only SSO administrator account. Also check clients, scripts, password managers, and integrations for stale credentials before concluding that a user caused the lockout.
Configure the token policy
A token policy governs SSO authentication-token validation, renewal, delegation, and lifetime behavior. A token is a credential issued after authentication so that a vSphere component or service can continue making authorized requests without repeatedly collecting the user's password.
Token-policy workflow
- Open the Policies page through Administration > Single Sign-On > Configuration > Policies.
- Select Token Policy.
- Select Edit.
- Configure clock tolerance, renewal count, delegation count, bearer-token lifetime, and holder-of-key token lifetime.
- Save the policy.
- Verify that the save succeeded and that every displayed value matches the approved configuration.
Token concepts
A bearer token is accepted primarily because the requester possesses it. It is intended for short-duration use and is not cryptographically bound to the requester in the same way as a holder-of-key token.
A holder-of-key token is associated with security material. The holder must demonstrate possession of the related material, giving the token stronger binding characteristics during delegated operations.
Token delegation allows a service to act for the principal represented by a delegated authentication token. A delegation request can identify a DelegateTo target represented by a solution token or a reference to one. A solution token is a token identity used by a vSphere solution or service and can be the target of delegated work.
Changing token lifetimes, renewal limits, delegation limits, or clock tolerance can affect vSphere integrations and automated workflows. Before making a change, identify which token type the integration uses, how long operations run, whether tokens are renewed, and how many services participate in the delegation chain.
Applying and validating changes
- Save one policy at a time and verify successful completion.
- Compare the displayed values with the approved change record.
- Use a noncritical local SSO test account to validate password rules where feasible.
- Test lockout controls cautiously and retain an independent administrator recovery path.
- Confirm synchronized time on vCenter Server, clients, domain controllers, and supporting infrastructure before modifying clock tolerance.
- After token-policy changes, test authentication for integrated vSphere services, scheduled jobs, and automation.
- Record the final values, test results, and any exceptions.
Security and operational guidance
- Prefer properly synchronized time sources over broadly increasing token clock tolerance.
- Avoid excessive token lifetimes or delegation counts unless a documented integration requires them.
- Review SSO policies periodically and after changes to identity sources, security standards, or integrated solutions.
- Keep at least two authorized SSO administrator accounts, or maintain a tested recovery path.
- Distinguish SSO policy enforcement from directory-native password and lockout policies used by external identity providers.
- Align policy values with the organization's security baseline, availability objectives, and compliance obligations.
Troubleshooting
A local SSO account is unexpectedly locked
- The failed-login threshold may have been reached within the configured observation interval.
- A client, script, or integration may still be submitting an outdated password.
- An unlock duration of zero may require an authorized SSO administrator to unlock the account.
Review the lockout values, identify failed-login sources, correct stale credentials, and follow the approved administrative unlock procedure.
A password change is rejected
Check the minimum and maximum length, required character categories, password-history restriction, and adjacent repeated-character limit. Choose a new password that satisfies every active rule.
Token validation fails after a time change
Clock skew may exceed the configured tolerance because NTP or another time source is misconfigured on a client, domain controller, vCenter-related system, or supporting host. Restore consistent time synchronization first. Review clock tolerance only after resolving the underlying time-source problem.
An integration stops authenticating after token-policy changes
Determine whether the workflow uses bearer or holder-of-key tokens. A lifetime may be too short, the renewal count may be insufficient, or the delegation limit may not support the service chain. Validate the integration in a controlled environment and adjust only the relevant setting before retesting.
Exam-relevant notes
- Password policy applies to local SSO-domain accounts, not automatically to external identity-provider accounts.
- The lockout observation interval is measured in seconds, and attempts must occur within that interval to count toward the threshold.
- An unlock duration of zero means administrator action is required.
- Clock tolerance is measured in milliseconds and should not be used as a substitute for reliable time synchronization.
- Token renewal count limits renewal of an existing token; it does not simply define password validity.
- Token delegation allows a service to act for a principal and can identify a DelegateTo solution identity.
For related administration, review assigning vCenter Server permissions, the vSphere access control system, and broader VMware ESXi administration topics.