> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/smb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/smb/site-configuration/site-actions/credentials/edit-credentials.md).

# Edit Credentials

#### **Edit Credential Group**

This action can also be performed by clicking on the [Credential Groups](/smb/site-configuration/site-actions/credentials/credentialgroups.md) if is it visible on the SITES tab in the Installer Portal.&#x20;

1. Click the **Credentials** dropdown menu.
2. Select **Edit Credentials**.\
   The Edit Credential Group lightbox displays.
3. The following configuration can be changed from this lightbox.
   * **Credential Group Name (if applicable)**
   * **Length of the User Code** – this will change the length of user codes generated for all sites within the Credential Group. See [Setting the User Code Length](#setting-the-user-code-length).
   * Enable/disable the use of **Duress User Codes** for current site or all sites in Credential Group
   * Enable/disable the use of [Tags](#tags) or current site or all sites in Credential Group

#### Setting the User Code length

You can set the length that [User Codes](broken://pages/B1okjCekrP0E8XxOw8tW) will be when they are generated for users in the SMB app. User codes that have already been assigned to users will not be affected if you change the minimum user code length.

**Note -** option only displays if at least one T30 Terminal has been configured for the site. The User Code Length can only be changed before the site has been [activated](/smb/test-and-active/activate-site.md) or while in [Installer Mode](/smb/test-and-active/installer-mode.md).

To set the minimum User Code length:

1. If the site has been activated, ask the customer to enable [Installer Mode](/smb/test-and-active/installer-mode.md).
2. Click the **Credentials** dropdown menu.
3. Select **Edit Credentials**.\
   The Edit Credential Group lightbox displays.
4. Select the **Minimum length** from the drop-down list.\
   Generally, longer User Codes are considered more secure.
5. Click the **OK** button.\
   New User Codes will now be generated at this length in the SMB app.

**NOTE**:

* 4 - "Not recommended for sites using more than 100 user codes"&#x20;
* 5 - "Not recommended for sites using more than 1,000 user codes"&#x20;
* 6 to 8 - "Recommended level of security for most sites"

#### Duress User Codes

The **Duress User Codes** toggle determines whether duress codes are enabled for the site.

Users typically enter a valid access code to disarm an area, unlock a door, or gain access to a site. In situations where a user is being coerced to enter their code, a standard access code provides no way to discreetly signal that assistance is required.

When **Duress User Codes** is enabled, the system allows users to enter a designated duress code instead of their normal code. The duress code grants access or performs the requested action as expected, while simultaneously generating a duress event for monitoring and response purposes.

The Duress User Code is automatically generated by increasing the last digit of the User Code by 1; if the last digit is 9, it rolls over to 0 (e.g., 1234 → 1235, 1239 → 1230).

**NOTE**: Site must be on the latest [Controller Firmware version](https://help.security.gallagher.com/smb/site-configuration/assign-a-controller-to-a-site/controller-firmware) for this feature to work.

**How It Works**

* The user enters their duress code at a keypad
* The system processes the request as a valid user action.
* A duress event is generated and logged.
* Any configured duress notifications, alarms, or monitoring actions are triggered.
* When "Panic Button Notifications Only" Enabled Duress Code Alarm notification suppressed

#### Tags

The **Tags** toggle defines whether Key Tag assignment and management functionality is enabled for the site's Credential Group.

Tags are considered a single-factor credential. If tags are used for access, the area the doors are associated with must be configured to disarm with a single-factor authentication. This is part of the [Area ](/smb/site-configuration/configure-areas.md)configuration.


---

# 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://help.security.gallagher.com/smb/site-configuration/site-actions/credentials/edit-credentials.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.
