# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/oci/oci.identitydomains_password_policy.dataset.md

---
title: Password Policy
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Password Policy
---

# Password Policy

Password Policy in OCI defines the rules and requirements for user account passwords within an OCI tenancy. It allows administrators to enforce security standards such as minimum length, character complexity, expiration periods, and reuse restrictions. This helps ensure strong authentication practices and reduces the risk of compromised credentials.

```
oci.identitydomains_password_policy
```

## Fields

| Title                            | ID   | Type          | Data Type                                                                                                                                                                                                                                                                   | Description |
| -------------------------------- | ---- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                             | core | string        |
| allowed_chars                    | core | string        | The value to assign to the allowed_chars property of this PasswordPolicy.                                                                                                                                                                                                   |
| cloud_account_id                 | core | string        | The identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.                                                       |
| cloud_account_name               | core | string        | The name of the account this resource belongs to.                                                                                                                                                                                                                           |
| cloud_provider                   | core | string        | The name of the cloud provider.                                                                                                                                                                                                                                             |
| cloud_tags                       | core | hstore        |
| compartment_id                   | core | string        | Compartment containing the resource. Used for Access control, logical grouping, and authorization boundaries.                                                                                                                                                               |
| compartment_ocid                 | core | string        | The value to assign to the compartment_ocid property of this PasswordPolicy.                                                                                                                                                                                                |
| configured_password_policy_rules | core | json          | The value to assign to the configured_password_policy_rules property of this PasswordPolicy.                                                                                                                                                                                |
| created_at                       | core | timestamp     | Time when the resource has been created.                                                                                                                                                                                                                                    |
| delete_in_progress               | core | bool          | The value to assign to the delete_in_progress property of this PasswordPolicy.                                                                                                                                                                                              |
| description                      | core | string        | The value to assign to the description property of this PasswordPolicy.                                                                                                                                                                                                     |
| dictionary_delimiter             | core | string        | The value to assign to the dictionary_delimiter property of this PasswordPolicy.                                                                                                                                                                                            |
| dictionary_location              | core | string        | The value to assign to the dictionary_location property of this PasswordPolicy.                                                                                                                                                                                             |
| dictionary_word_disallowed       | core | bool          | The value to assign to the dictionary_word_disallowed property of this PasswordPolicy.                                                                                                                                                                                      |
| disallowed_chars                 | core | string        | The value to assign to the disallowed_chars property of this PasswordPolicy.                                                                                                                                                                                                |
| disallowed_substrings            | core | array<string> | The value to assign to the disallowed_substrings property of this PasswordPolicy.                                                                                                                                                                                           |
| disallowed_user_attribute_values | core | array<string> | The value to assign to the disallowed_user_attribute_values property of this PasswordPolicy.                                                                                                                                                                                |
| distinct_characters              | core | int64         | The value to assign to the distinct_characters property of this PasswordPolicy.                                                                                                                                                                                             |
| domain_ocid                      | core | string        | The value to assign to the domain_ocid property of this PasswordPolicy.                                                                                                                                                                                                     |
| first_name_disallowed            | core | bool          | The value to assign to the first_name_disallowed property of this PasswordPolicy.                                                                                                                                                                                           |
| force_password_reset             | core | bool          | The value to assign to the force_password_reset property of this PasswordPolicy.                                                                                                                                                                                            |
| freeform_tags                    | core | hstore        | The value to assign to the freeform_tags property of this Instance.                                                                                                                                                                                                         |
| groups                           | core | json          | The value to assign to the groups property of this PasswordPolicy.                                                                                                                                                                                                          |
| id                               | core | string        | The value to assign to the id property of this PasswordPolicy.                                                                                                                                                                                                              |
| idcs_created_by                  | core | json          | The value to assign to the idcs_created_by property of this PasswordPolicy.                                                                                                                                                                                                 |
| idcs_last_modified_by            | core | json          | The value to assign to the idcs_last_modified_by property of this PasswordPolicy.                                                                                                                                                                                           |
| idcs_last_upgraded_in_release    | core | string        | The value to assign to the idcs_last_upgraded_in_release property of this PasswordPolicy.                                                                                                                                                                                   |
| idcs_prevented_operations        | core | array<string> | The value to assign to the idcs_prevented_operations property of this PasswordPolicy. Allowed values for items in this list are: "replace", "update", "delete", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. |
| last_name_disallowed             | core | bool          | The value to assign to the last_name_disallowed property of this PasswordPolicy.                                                                                                                                                                                            |
| lockout_duration                 | core | int64         | The value to assign to the lockout_duration property of this PasswordPolicy.                                                                                                                                                                                                |
| max_incorrect_attempts           | core | int64         | The value to assign to the max_incorrect_attempts property of this PasswordPolicy.                                                                                                                                                                                          |
| max_length                       | core | int64         | The value to assign to the max_length property of this PasswordPolicy.                                                                                                                                                                                                      |
| max_repeated_chars               | core | int64         | The value to assign to the max_repeated_chars property of this PasswordPolicy.                                                                                                                                                                                              |
| max_special_chars                | core | int64         | The value to assign to the max_special_chars property of this PasswordPolicy.                                                                                                                                                                                               |
| meta                             | core | json          | The value to assign to the meta property of this PasswordPolicy.                                                                                                                                                                                                            |
| min_alpha_numerals               | core | int64         | The value to assign to the min_alpha_numerals property of this PasswordPolicy.                                                                                                                                                                                              |
| min_alphas                       | core | int64         | The value to assign to the min_alphas property of this PasswordPolicy.                                                                                                                                                                                                      |
| min_length                       | core | int64         | The value to assign to the min_length property of this PasswordPolicy.                                                                                                                                                                                                      |
| min_lower_case                   | core | int64         | The value to assign to the min_lower_case property of this PasswordPolicy.                                                                                                                                                                                                  |
| min_numerals                     | core | int64         | The value to assign to the min_numerals property of this PasswordPolicy.                                                                                                                                                                                                    |
| min_password_age                 | core | int64         | The value to assign to the min_password_age property of this PasswordPolicy.                                                                                                                                                                                                |
| min_special_chars                | core | int64         | The value to assign to the min_special_chars property of this PasswordPolicy.                                                                                                                                                                                               |
| min_unique_chars                 | core | int64         | The value to assign to the min_unique_chars property of this PasswordPolicy.                                                                                                                                                                                                |
| min_upper_case                   | core | int64         | The value to assign to the min_upper_case property of this PasswordPolicy.                                                                                                                                                                                                  |
| name                             | core | string        | The value to assign to the name property of this PasswordPolicy.                                                                                                                                                                                                            |
| num_passwords_in_history         | core | int64         | The value to assign to the num_passwords_in_history property of this PasswordPolicy.                                                                                                                                                                                        |
| ocid                             | core | string        | The value to assign to the ocid property of this PasswordPolicy.                                                                                                                                                                                                            |
| password_expire_warning          | core | int64         | The value to assign to the password_expire_warning property of this PasswordPolicy.                                                                                                                                                                                         |
| password_expires_after           | core | int64         | The value to assign to the password_expires_after property of this PasswordPolicy.                                                                                                                                                                                          |
| password_strength                | core | string        | The value to assign to the password_strength property of this PasswordPolicy. Allowed values for this property are: "Simple", "Standard", "Custom", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.             |
| priority                         | core | int64         | The value to assign to the priority property of this PasswordPolicy.                                                                                                                                                                                                        |
| region_id                        | core | string        | The region this resource resides within.                                                                                                                                                                                                                                    |
| required_chars                   | core | string        | The value to assign to the required_chars property of this PasswordPolicy.                                                                                                                                                                                                  |
| resource_type                    | core | string        | The name of the resource type.                                                                                                                                                                                                                                              |
| schemas                          | core | array<string> | The value to assign to the schemas property of this PasswordPolicy.                                                                                                                                                                                                         |
| starts_with_alphabet             | core | bool          | The value to assign to the starts_with_alphabet property of this PasswordPolicy.                                                                                                                                                                                            |
| tags                             | core | hstore_csv    | The value to assign to the tags property of this PasswordPolicy.                                                                                                                                                                                                            |
| tenancy_ocid                     | core | string        | The value to assign to the tenancy_ocid property of this PasswordPolicy.                                                                                                                                                                                                    |
| time_created                     | core | timestamp     | The value to assign to the time_created property of this Instance.                                                                                                                                                                                                          |
| updated_at                       | core | timestamp     | Time when the resource has been updated the last time.                                                                                                                                                                                                                      |
| user_name_disallowed             | core | bool          | The value to assign to the user_name_disallowed property of this PasswordPolicy.                                                                                                                                                                                            |
| zone_id                          | core | string        | The zone this resource resides within.                                                                                                                                                                                                                                      |