--- title: Require Minimum and Maximum Password Length description: Set minimum and maximum password lengths to avoid compliance issues and reduce the risk of a successful brute force attack locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-set-minimal-password-length.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Authentication, Hardening settings, Platform Security] --- # Require Minimum and Maximum Password Length Set minimum and maximum password lengths to avoid compliance issues and reduce the risk of a successful brute force attack Password policies define the requirements for passwords your users create on your instance. The password length must fall within the range accepted by the NIST 800-63B document. Ensure that a password policy is being enforced for each password credential store in use on your instance. Ensure that the password policy mandates a minimum password length of at least 15 characters and maximum password length of at least 64 characters. For each password credential store record in the Password Reset Credential Stores \[pwd\_cred\_store\] table: 1. Ensure that a password policy is being enforced for each password credential store in use on your instance: For each password credential store record in the Password Reset Credential Stores \[pwd\_cred\_store\] table, ensure that **Enable password policy** field is activated. 2. Ensure that the password policy mandates a minimum password length of at least 15 characters and maximum password length of at least 64 characters. Navigate to the Password Policy \[password\_policy\] record referenced in the record's **Password policy** field. Ensure that the **Minimum Password Length** field is set to at least 15 and **Maximum Password Length** field is set to at least 64. 3. Further instructions on configuring a password policy can be in the documentation: [Enable password policies on your instance](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/authentication/enable-password-policies.md) Further instructions on configuring a password policy, see [Enable password policies on your instance](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/authentication/enable-password-policies.md). ## More information
| Attribute | Description |
|---|---|
| Configuration name | - Password Reset Credential Store \[pwd\_cred\_store\] table - Password Policy \[password\_policy\] |
| Configuration type | - Table records - Table records |
| Data type | - Boolean - Integer |
| Recommended value | - The **Enable password policy** field on each Password Reset Credential Stores \[pwd\_cred\_store\] record must be activated\(true\). - The **Minimum Password Length** on the associated Password Policy \[password\_policy\] record must be at least 15. - The **Maximum Password Length** on the associated Password Policy \[password\_policy\] record must be at least 64. |
| Default value | - The **Minimum Password Length** on Password Policy \[password\_policy\] records is 8 by default. - The **Maximum Password Length** on Password Policy \[password\_policy\] records is 100 by default. |
| Fallback value | - The fallback value of **Minimum Password Length** on Password Policy \[password\_policy\] records is 8. - The fallback value of **Maximum Password Length** on Password Policy \[password\_policy\] record is 100. |
| Category | [Authentication](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-authentication.md) |
| Security risk | - Severity score: 5.9 - CVSS score: Medium - Security risk details: Allowing passwords that are too short or not long enough could lead to compliance issues and increases the risk of an attacker successfully brute forcing passwords. |
| Functional impact | Instances do not suffer any impact from a minimum password length of 15 or maximum password length of 64. |
| Dependencies and prerequisites | None |