---
sourceDocument: Yokohama ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/servicenow-platform

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Masked

# Masked {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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.  
Note:  
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.  

|-|-|-|-|
| Action | Roles |||
| Action | 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 Note: If the masked variable is read-only on the variable editor, the variable value is not editable | Yes Note: If the masked variable is read-only on the variable editor, the variable value is not editable | No |
[Table 1. Actions on an encrypted variable]

{#masked__table_lrq_5vv_vdb}  
Figure 1. Example: masked variable ![A masked variable]()
**Related concepts**   

* [Attachment](https://www.servicenow.com/docs/QO6tabzhZQAmG~fTm~Oxvg "When submitting a catalog item request, this variable lets you upload an attachment for a question of the item.")
* [Break](https://www.servicenow.com/docs/ZPkcnLIOoUJ0KUAwbkZq1Q "The break variable displays a horizontal line across the form.")
* [Check box](https://www.servicenow.com/docs/dbzfzFBOnL0cGsYHCyY0ew "The check box variable lets you enable and disable options by selecting and clearing it.")
* [Container start, container split, and container end](https://www.servicenow.com/docs/pC3s_06HYIQ2nYqGR3zVTQ "The container start, container split, and container end variables define a layout for a container that can hold more variables.")
* [Date, Date and time, and Duration](https://www.servicenow.com/docs/uzlw6WNmuwB3x01yjFA0pQ "The date variable creates a widget with a field and calendar to select a date.")
* [Email](https://www.servicenow.com/docs/e05Xnwb1dlr3HvDFYMK85w "The email variable creates a widget to enter and select an email address.")
* [HTML](https://www.servicenow.com/docs/vEd~WSLcnLEnCKxB4dWLrw "The HTML variable lets you provide content with advanced formatting, including images, for a catalog item.")
* [IP Address](https://www.servicenow.com/docs/qSWnkVruJD2Cbdub~ODQ2w "Use the IP address variable to specify the IPv4 and IPv6 data for a catalog item.")
* [Label](https://www.servicenow.com/docs/55~SxLwA_bs95JADgcA79w "The label variable displays a label across the form. Labels are formatting elements. No data is collected.")
* [List collector](https://www.servicenow.com/docs/PBw_niFNS0zVn7ZJIcBonQ "The list collector variable creates an interface that lets you select and add multiple records from a table.")
* [Lookup multiple choice](https://www.servicenow.com/docs/10gK7f2avwj7NEyP2~BFlg "The lookup multiple choice variable creates radio buttons using data from a table. Its functionality is similar to the lookup select box variable, which creates a choice list from queried data.")
* [Lookup select box](https://www.servicenow.com/docs/sHCOcg~Iem_zOUhSXLPrvg "The lookup select box variable creates a choice list using data queried from a table. Its functionality is similar to the lookup multiple choice variable, which creates radio buttons from queried data.")
* [Custom and Custom with label](https://www.servicenow.com/docs/7kVwkVNouYvNWsWUJRTR9Q "The custom variable inserts a UI macro into the catalog item. Custom with label variable inserts a UI macro with a label.")
* [Multi-line text](https://www.servicenow.com/docs/fFQDuJAidoKgNq_Z8P1xNQ "The multi-line text variable creates a field that lets you enter multiple lines of text.")
* [Multiple choice](https://www.servicenow.com/docs/IpqZmjpq1v5Rf28NHh645A "The multiple choice variable creates radio buttons for question choices.")
* [Numeric scale](https://www.servicenow.com/docs/2I4UDB_n8iMVzpTMChLB2Q "The numeric scale variable creates a set of radio buttons for a range of options, like a Likert scale.")
* [Reference](https://www.servicenow.com/docs/m7TquCi~aKhtuV~EOj14Qw "A reference variable references a record in another table. For example, a variable named point_of_contact references the User [sys_user] table.")
* [Requested for](https://www.servicenow.com/docs/N2sHQov681zrbqCejbA~Dw "Before submitting a catalog item request, this variable helps you specify who this request can be submitted for.")
* [Rich Text Label](https://www.servicenow.com/docs/vUsX7U3OToPdlSQGu~MxMQ "This variable displays a formatted label on a catalog item form.")
* [Select box](https://www.servicenow.com/docs/mTLXDo1f0knfdn1BrNg~Sg "The select box variable creates a list from predefined question choices.")
* [Single-line text](https://www.servicenow.com/docs/F91A9HDH34PCsK~w5SK_5w "The single-line text variable creates a field to enter a single line of text.")
* [UI page](https://www.servicenow.com/docs/lmwv0niDqrzcCUzj~AL0fA "The UI page variable inserts a UI page into the catalog item.")
* [URL](https://www.servicenow.com/docs/K~Kn8iqfU_N6FMpwJa~sSA "The URL variable creates a widget for users to enter URLs.")
* [Wide single-line text](https://www.servicenow.com/docs/9xTczJ~RQ3vCeGDfA9DYCw "The wide single-line text variable creates a field that spans the form, letting users enter longer lines of text.")
* [Yes/No](https://www.servicenow.com/docs/42KYd19QsroLGxZ5n~M_2Q "The Yes or No variable creates a choice list with Yes and No as options.")  
**Related reference**   

* [Variable support in various channels](https://www.servicenow.com/docs/_FSp~~cB0QAPSeTClzNhmQ "Service Catalog variables are supported in various channels.")

