---
sourceDocument: Yokohama Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/platform-security

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Field Encryption Enterprise examples

# Field Encryption Enterprise examples {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read  
These examples walk you through the encryption of fields and attachments using
customer-supplied keys.

## Field Encryption Enterprise walkthrough {#ariaid-title2}

This walkthrough shows you how to encrypt a field in your instance using Field Encryption Enterprise with the Key Management Framework (KMF). It also shows you how to use your own key.

### Before you begin

Note:  
This procedure only applies to Field Encryption Enterprise functionality. See [Activate Field Encryption Enterprise](https://servicenow-prod.fluidtopics.net/r1Uk~z~P3egwvOPMHBnbgQ "Activate either Field Encryption Starter or Field Encryption Enterprise.") for more information on obtaining Field Encryption Enterprise.

Role required: admin or security_admin  
Note:  
security_admin is a privileged role, for details on using privileged roles, see [Elevate to a privileged
role](https://servicenow-prod.fluidtopics.net/Iq1l5cI8dgYOyrcy3wkCgQ "The base system admin can elevate to a privileged role to have access to the features of High Security Settings.")

### About this task

This walkthrough starts with an instance where you have already created and uploaded
your personal cryptographic key. You could use the ServiceNow
key, but this example uses a customer-supplied key.

After the key has been stored in a cryptographic module, you can start configuring
fields in your instance. For example, configure salary or social security number fields that have limited
access from certain users. In the Encrypted Field Configuration, specify which
authorized personnel can access sensitive data.

This task demonstrates two scenarios. One example encrypts the Short Description field in an incident for users who aren't authorized to view the sensitive data.

Attachments can also be encrypted and only visible to users who are granted access, or is visible to all users that aren't restricted from viewing the data. See [Attachment encryption walkthrough](https://servicenow-prod.fluidtopics.net/_Wb15_MHlsIBWFE8OV9H3A "This walkthrough shows you how to encrypt an attachment in your instance using Column Level Encryption Enterprise with the Key Management Framework (KMF). It also shows you how to use your own key.") to encrypt an attachment.

### Procedure

1. Make sure that Field Encryption Enterprise is enabled.
2. Create a cryptographic module for column_level_encryption.  
   See [Create cryptographic module for Field Encryption](https://servicenow-prod.fluidtopics.net/iWpnIVjpLCG5kUySh2KHfg "Create a Column Level Encryption cryptographic module to define the mechanisms used for cryptographic operations.") [Create a cryptographic module](https://servicenow-prod.fluidtopics.net/_B5LQoO30fa~baK20wx4ig "Create a cryptographic module to define the mechanisms used for cryptographic operations. After you create the module, you create a cryptographic specification, where you define an algorithm for encryption and generates a key.") for more information.
3. Navigate to System SecurityEncrypted Field Configurations.
4. Select New.
5. On the form, fill in the fields.  
   {#column-level-encryption-walkthrough__table_rj3_tsn_tnb__entry__2}

   | Field | Description |
   |-|-|
   | Type | Column is required to use your personal key. |
   | Table | Table that stores the sensitive information. For this example, select Incident \[incident\]. |
   | Column | Column, or specific information, that represents the sensitive date to be encrypted. For this example, select short_description. |
   | Active | Option to mark Active to use the field configuration. |
   | Algorithm Equality Preserving | The option is automatically selected. |
   | Crypto module | Module that you created to use with the personal key. |
   | Method | The Single Module option is used to apply the policies for one module. Multiple Modules is used to apply the policies across multiple modules. |
   [Table 1. Encrypted field configuration form]

   {#column-level-encryption-walkthrough__table_rj3_tsn_tnb}  
   Figure 1. Field Encryption configuration example
6. Select Submit.  
   Establish a Module Access Policy to assign access to the cryptographic
   module. See [Create a module access policy](https://servicenow-prod.fluidtopics.net/nxRVEUO2pFegrVeDnM9X7A "Create module access policies to decide which users and scripts can access data encrypted by a cryptographic module.") for additional
   information.
7. Navigate to Key ManagementModule Access PoliciesCreate New.
8. On the form, fill in the fields.  
   {#column-level-encryption-walkthrough__table_ykx_f5p_tnb__entry__2}

   | Field | Description |
   |-|-|
   | Policy name | Name for the policy, such, as <kbd class="ph userinput">short description</kbd>. |
   | Crypto module | Crypto module that you created to encrypt your key. |
   | Type | Type of access designation for the crypto policy. Use Role to grant access to the encrypted field to only those users that have the assigned role. |
   | Target Role | The role that has access to the encrypted field. For this example, select Admin. |
   | Active | Option to activate the Module Access Policy. |
   | Result | The Trackoption enables the access to the field for the selected role. (To restrict access to that field for the selected role, select Reject orStrict Reject.) |
   [Table 2. Module access policy form]

   {#column-level-encryption-walkthrough__table_ykx_f5p_tnb}  
   Figure 2. Module access policy example
9. Click Submit.
10. As a user with the sn_kmf.admin role, navigate to IncidentNew.  
    Figure 3. Example of encrypted field visible  
    You can now view the Short description field based on the module access policy configuration.  
    Note:  
    The sn_kmf.admin role was granted access to the encrypted Short description field by setting the module access policy to Track. Notice the lock icon (![Lock icon.]()) under the field name indicating that the field is an encrypted field.

    You can now access the Incidents module as an end user to test the encrypted field configuration.
11. Log in as a user to be restricted from viewing the encrypted data in the configured field.  
    Figure 4. Encrypted field level data  
    When you access the incident number, the data in the Short description will not be visible.

### Result

You have successfully used your symmetric key to control access to a specific field using Field Encryption Enterprise.

## Attachment encryption walkthrough {#ariaid-title3}

This walkthrough shows you how to encrypt an attachment in your instance using Column Level Encryption Enterprise with the Key Management Framework (KMF). It also shows you how to use your own key.

### Before you begin

Note:  
This procedure only applies to Column Level Encryption Enterprise functionality. See [Activate Field Encryption Enterprise](https://servicenow-prod.fluidtopics.net/r1Uk~z~P3egwvOPMHBnbgQ "Activate either Field Encryption Starter or Field Encryption Enterprise.") for more information on obtaining Column Level Encryption Enterprise.

Role required: kmf cryptographic manager

### About this task

This walkthrough starts with an instance where you have already created and uploaded your customer-supplied cryptographic key. You could use the key, but this example uses a customer-supplied key.

Upload confidential attachments in your instance and limit access from certain users.
Use Encrypted Field Configuration to specify which authorized personnel can access
sensitive data.

We show you how to encrypt attachments to only be visible to users who are granted
access, or be visible to all users that are not restricted from viewing the data. In
this example, we restrict a certain role from being able to access an attachment in
the Incidents module.  
Note:  
Although you can use multiple modules with Column Level Encryption Enterprise, attachment encryption must use single modules.

### Procedure

1. Make sure that Column Level Encryption Enterprise is enabled.
2. Create a cryptographic module.  
   See [Create cryptographic module for Field Encryption](https://servicenow-prod.fluidtopics.net/iWpnIVjpLCG5kUySh2KHfg "Create a Column Level Encryption cryptographic module to define the mechanisms used for cryptographic operations.") for more information.
3. Navigate to System SecurityEncrypted Field Configurations.
4. Click New.
5. Complete the form:  
   {#attachment-encryption-walkthrough__table_rj3_tsn_tnb__entry__2}

   | Field | Description |
   |-|-|
   | Type | Select Attachment to use your personal key for encrypting an attachment from the selected Table For this example, select Incident. |
   | Table | Select the table to access the sensitive information. For this example, select Incident \[incident\]. |
   | Active | Mark Active to be able to use the field configuration. |
   | Algorithm Equality Preserving | When selecting Column Level Encryption Enterprise, this field is visible based on the table selected. |
   | Crypto module | Select the module that you created to use with the personal key. |
   | Method | The Single Module option is used to apply the policies for one module. Multiple Modules is used to apply the policies across multiple modules. |
   [Table 3. Encrypted field configuration fields]

   {#attachment-encryption-walkthrough__table_rj3_tsn_tnb}  
   Figure 5. Encrypted Field Configuration table
6. Click Submit.  
   Establish a Module Access Policy to assign access to the cryptographic
   module. Refer to [Create a module access policy](https://servicenow-prod.fluidtopics.net/nxRVEUO2pFegrVeDnM9X7A "Create module access policies to decide which users and scripts can access data encrypted by a cryptographic module.") for
   additional information.
7. Navigate to Key ManagementModule Access PoliciesAll.
8. Click New.
9. Complete the form:  
   {#attachment-encryption-walkthrough__table_ykx_f5p_tnb__entry__2}

   | Field | Description |
   |-|-|
   | Policy name | Enter a name for the policy, such, as "Attachment policy." |
   | Crypto module | Select the crypto module that you created to encrypt your key. |
   | Type | Select Role to restrict access to the encrypted field from users with the assigned role. |
   | Target Role | Select the role that will not have access to the encrypted field. For this example, select itil. |
   | Active | Select this check box to be able to use the Module Access Policy. |
   | Result | Select Strict Reject to control the access to the attachment from the selected role. (To grant access for the selected role, select Track.) |
   [Table 4. Module access policy fields]

   {#attachment-encryption-walkthrough__table_ykx_f5p_tnb}  
   Figure 6. Module Access Policy form
10. Click Submit.
11. As admin or as a person that created the incident, navigate to Incidents and add an attachment to Activities on the Notes related list.  
    Figure 7. Attachment available per role
12. Log in as a user that restricted from accessing the encrypted attachment.
13. Open the incident and scroll to the Activities: section.  
    The link to open the attachment is not accessible for users with the restricted role.
14. You have now successfully used your customer-supplied key to control access to a specific attachment using Column Level Encryption Enterprise.

*[\>]: and then


