Masked

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • The masked variable inserts a field that masks the text entered.

    Each character entered is displayed as an asterisk (*). Use this variable to ask users for sensitive or confidential data such as passwords.

    By selecting the Use encryption check box, you can configure the variable to encrypt its value using various encryption algorithms before storing in the database. These values can only be decrypted by using now_GR.variables.var_name.getDecryptedValue() on RITM, Catalog Task, or any task extension record created using a record producer.
    Remarque :
    By default, the Use encryption field is set to true to ensure secure storage of information.

    On the variable editor, you can also decrypt and encrypt the values of a masked variable using the Show and Hide buttons. These buttons are not available for a fulfiller (itil) without the catalog_view_masked role. You can only view the value that you specified while requesting.

    Tableau 1. Actions on an encrypted variable
    Action Roles
    Requester Fulfiller with the catalog_view_masked role Fulfiller without the catalog_view_masked role
    View or hide the encrypted value on catalog forms Yes Not applicable Not applicable
    Edit the encrypted value on catalog forms Yes Not applicable Not applicable
    View or hide the encrypted value on the variable editor Yes Yes No
    Edit the encrypted value on the variable editor Yes
    Remarque :
    If the masked variable is read-only on the variable editor, the variable value is not editable
    Yes
    Remarque :
    If the masked variable is read-only on the variable editor, the variable value is not editable
    No
    Figure 1. Example: masked variable
    A masked variable