# Passcode Payload

> This payload can be used to enforce a passcode on the device.

Source: https://docs.capaone.com/capainstaller/the-capainstaller-console/configuration-management/what-is-configuration-management/profiles/multiple-platforms/passcode-payload/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

# Description

This payload can be used to enforce a passcode on the device. The payload doesn't give the actual passcode but merely states the requirements that the user passcode must fulfill.![](/attachments/capainstaller/7a86591e-d329-405d-b5a3-ca1c3b97519f.png)

## Configuration

| MANDATORY   | CONFIGURATION                          | DESCRIPTION                                                                                                                                       | EXAMPLE         |
|:------------|:---------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------|:----------------|
| Yes         | Force PIN                              | Does the device need to have a PIN code protection                                                                                                | \[Checked\]     |
| Yes         | Allow Simple Value                     | Is it allowed to use a number sequence like '123' or 'ABC'                                                                                        | \[Checked\]     |
| Yes         | Require Alphanumeric Value             | Must the passcode contain alphanumeric values?                                                                                                    | \[Not Checked\] |
|             | Minimum Passcode Length                | Minimum number of characters                                                                                                                      | --              |
|             | Minimum number of complex characters   | A minimum number of complex characters (e.g. !#£$)?                                                                                               | --              |
|             | Minimum number of numeric characters   | A minimum number of numeric characters (e.g. 184)? \[Only for Android\]                                                                           | --              |
|             | Minimum number of alphabetic character | Minimum number of numeric alphabetic (e.g. AbC)? \[Only for Android\]                                                                             | --              |
|             | Maximum Passcode Age                   | Maximum days for which the user can keep the same passcode                                                                                        | --              |
| Yes         | Maximum Auto-lock                      | Maximum idle minutes before the device lock the screen                                                                                            | Disabled        |
|             | Maximum Number of Failed attempts      | Maximum number of failed attempts before the device will secure lock                                                                              | --              |
|             | Passcode History                       | How long history of previously used passcodes which no longer can be used must be stored                                                          | --              |
| Yes         | Maximum Grace Period for Device Lock   | Maximum number of minutes in which a locked device can be unlocked without using a passcode                                                       | Immediately     |
|             | Allow weak biometric passcode          | If the Android device has a fingerprint scanner or other biometric identification available, this can be used instead of an alphanumeric passcode | \[Checked\]     |
