Cookies are used to collect information about you. Nexus uses this information to give you a better experience of the website (functional) and to count the pages you visit (statistics).
Click OK to give Nexus your consent to use cookies. Read more about Nexus' cookie policy.
Temporary cards - Manage option to decide how long the temporary card shall be valid
This article describes how to manage the option to decide how long the temporary card shall be valid in the use cases Assign temporary card and Extend temporary card in the Add-on Temporary cards 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 for the Virtual smart card package here:Temporary cards - Options
Prerequisites
Prerequisites
-
Step-by-step instruction for the administrator
Log in to Identity Manager Admin
Log in to Identity Manager Admin as Administrator.
Manage the option to decide how long the temporary card shall be valid
In Identity Manager Admin, go to Home >Scripts.
Select the script TempCardsScriptOptions.
In the script,go to the TempCardsValidityDays variable, see the example. By default it is set to 14, which means that the temporary card is valid for 14 days. Example:
/*
Defines the amount of days the temporary card will be valid.
Should match the validity date period of the certificates if present.
Possible options:
* 14(default) - The temporary card will be valid for 14 days after assignment.
*/
TempCardsValidityDays = 14
To change the validity, add an other number for TempCardsValidityDays.
The validity time for the temporary card must match the validity date period for the certificates, if present.
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
Value
Outcome
14 (default)
The temporary card is valid for 14 days
Other value
The validity of the temporary card is set to this value, see also the note above