> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.13/learn-about-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy/edit-a-default-password-policy.md).

# Edit a Default Password Policy

When installing or upgrading Cortex XSOAR, users with non FIPS compliant passwords may need to change their password upon next log in. You can change this behavior before upgrading or installing by adding a server configuration.

{% hint style="info" %}

### Note

After adding a server configuration, you can see the changes in Settings → ADVANCED → **Password Policy**. However, when you make any changes in the **Password Policy** tab, these override the changes made in the Server configuration. You then make any future changes in the **Password Policy** tab.
{% endhint %}

1. Go to Settings → About → **Troubleshooting**.
2. In the **Server Configuration** section, click **Add Server Configuration**.
3. Add the keys and values, as described in [Default Password Policy Keys](/xsoar-6-administrator-guide/6.13/learn-about-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy/edit-a-default-password-policy/default-password-policy-keys.md).
4. Click **Save**.

   Instead of adding the keys separately, you can enter one key containing all of the information in the following format:

   ```programlisting
   { 
      "Server":{ 
         "HttpsPort":"443"
      },
      "db":{ 
         "index":{ 
            "entry":{ 
               "disable":true
            }
         }
      },
      "limit":{ 
         "docker":{ 
            "memory":true
         }
      },
      "password":{ 
         "policy":{ 
            "default":{ 
               "Enabled":true,
               "MinLowercaseChars":4,
               "MinUppercaseChars":4,
               "ExpireAfter":4,
               "ExpireUnit":"day",
               "PreventRepetition":true,
               "MaxFailedLoginAttempts":4,
               "SelfUnlockAfterMinutes":4
            }
         }
      }
   }
   ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.13/learn-about-cortex-xsoar/onboarding-in-cortex-xsoar/users-and-roles/password-policy/edit-a-default-password-policy.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
