Password policy
Table of contents
Password Policy Configuration
Overview
This document provides guidelines for configuring the password policy in CloudBeaver. The password policy settings allow administrators to define rules for user passwords, ensuring security and compliance with organizational requirements.
Configuration Properties
The following properties can be adjusted in the configuration file to customize the password policy. These settings will be applied globally throughout the application.
minLength:
- Description: Specifies the minimum length requirement for user passwords.
- Default Value: 8
- Example:
minLength: "${CLOUDBEAVER_POLICY_MIN_LENGTH:10}",
requireMixedCase:
- Description: Enforces the use of both uppercase and lowercase letters in passwords.
- Default Value: true (mixed case required)
- Example:
requireMixedCase: "${CLOUDBEAVER_POLICY_REQUIRE_MIXED_CASE:false}",
minNumberCount:
- Description: Sets the minimum number of numeric characters required in passwords.
- Default Value: 1
- Example:
minNumberCount: "${CLOUDBEAVER_POLICY_MIN_NUMBER_COUNT:2}",
minSymbolCount:
- Description: Defines the minimum number of special symbols required in passwords.
- Default Value: 1
- Example:
minSymbolCount: "${CLOUDBEAVER_POLICY_MIN_SYMBOL_COUNT:3}"
Applying Password Policy
The configured password policy will be applied during password create and change processes. The CloudBeaver will check the entered passwords against the defined policy, and users will be prompted to update their passwords if they do not meet the specified requirements.
Example snippet:
passwordPolicy: {
minLength: "${CLOUDBEAVER_POLICY_MIN_LENGTH:8}",
requireMixedCase: "${CLOUDBEAVER_POLICY_REQUIRE_MIXED_CASE:true}",
minNumberCount: "${CLOUDBEAVER_POLICY_MIN_NUMBER_COUNT:1}",
minSymbolCount: "${CLOUDBEAVER_POLICY_MIN_SYMBOL_COUNT:0}"
}