Skip to main content
Skip table of contents

Temporary cards (external production) - Manage option to set PIN length

This article describes how to manage the option to set the PIN length. This is used in the use case Initialize temporary card (external production) in Smart ID Identity Manager, the Temporary cards add-on External production package. A script in Identity Manager Admin is used to manage the options.

See a list of all available options in the Smart ID use cases here: Temporary cards add-on External production - Options




Step-by-step instruction for the administrator

Log in to Identity Manager Admin
  1. Log in to Identity Manager Admin as Administrator.
Set the PIN length
  1. In Identity Manager Admin, go to Home > Scripts.
  2. Select the script TempCardsAddonExtProdScriptOptions.
  3. In the section PIN and PUK Management in the script, go to the TempCardsAddonExtProdPINLength variable, see the example. By default it is set to 6.


    Defines the length of the PIN code.
    Possible options:
     * 6(default) - PIN length is set to 6.
     * 4 - PIN length is set to 4.
    TempCardsAddonExtProdPINLength = "6"
  4. If you want the PIN length to be 4, set TempCardsAddonExtProdPINLength to 4.
  5. Click Save in the upper left corner to save the updated script (or exit without saving if there are no updates).

Technical details

Default value and outcome

6 (default)

The PIN length is 6


The PIN length is 4
Manage options script

Click here to see the whole manage options script.

Related information

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.