Skip to main content

DESC PASSWORD POLICY

Introduced or updated: v1.2.283

Displays detailed information about a specific password policy in Databend. For detailed descriptions of the password policy attributes, see Password Policy Attributes.

Syntax

DESC PASSWORD POLICY <policy_name>

Examples

CREATE PASSWORD POLICY SecureLogin
PASSWORD_MIN_LENGTH = 10;

DESC PASSWORD POLICY SecureLogin;

┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Property │ ValueDefault │ Description │
├───────────────────────────────┼─────────────┼──────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ NAME │ SecureLogin │ NULL │ Name of password policy.
COMMENT │ │ NULLComment of password policy.
│ PASSWORD_MIN_LENGTH │ 108 │ Minimum length of new password.
│ PASSWORD_MAX_LENGTH │ 256256 │ Maximum length of new password.
│ PASSWORD_MIN_UPPER_CASE_CHARS │ 11 │ Minimum number of uppercase characters in new password.
│ PASSWORD_MIN_LOWER_CASE_CHARS │ 11 │ Minimum number of lowercase characters in new password.
│ PASSWORD_MIN_NUMERIC_CHARS │ 11 │ Minimum number of numeric characters in new password.
│ PASSWORD_MIN_SPECIAL_CHARS │ 00 │ Minimum number of special characters in new password.
│ PASSWORD_MIN_AGE_DAYS │ 00 │ Period after a password is changed during which a password cannot be changed again, in days.
│ PASSWORD_MAX_AGE_DAYS │ 9090 │ Period after which password must be changed, in days.
│ PASSWORD_MAX_RETRIES │ 55 │ Number of attempts users have to enter the correct password before their account is locked.
│ PASSWORD_LOCKOUT_TIME_MINS │ 1515 │ Period of time for which users will be locked after entering their password incorrectly many times (specified by MAX_RETRIES), in minutes.
│ PASSWORD_HISTORY │ 00 │ Number of most recent passwords that may not be repeated by the user.
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today