---
sourceDocument: Australia Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/platform-security

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Encrypt fields using encryption configurations

# Encrypt fields using encryption configurations {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 7 Minuten Lesedauer

Encrypt fields by creating encryption configurations.

To configure Edge Encryption, you must be connected to the instance through the proxy. Test all changes on a non-production instance before applying them to the production instance.

## Define encryption keys

After setting up one or more proxies and configuring a default encryption key, the instance verifies that the keys are available to all proxies. You can't make an encryption key the default key unless all proxies have the key.
After a default key is defined, you can create encryption configurations.

## Assign fields and attachments to be encrypted

Assigning fields and attachments to be encrypted means assigning an encryption type to the field or attachment. Before marking a field as encrypted, evaluate these issues.

* Determine what system features might be impacted.
* Examine all scripts for use of the field.
* Make any desired adjustments to the field size. After a field has been configured for encryption, the field size can't be changed.
{#c_ConfigureCloudEdge__ul_sg2_q4g_x5}

Marking a field to be encrypted expands the field size to store the encrypted data. The
process of expanding the field size can take a long time, depending on the number of records in
the table.

## API support {#c_ConfigureCloudEdge__section_vzm_vxk_znb}

Field Encryption updates the `setDisplayValue()` and `setValue()` APIs so they can insert encrypted data for encrypted fields. It also enables `getDisplayValue()`
and `getValue()` to return cleartext values.

The following script illustrates these API changes when the Incident short description is
encrypted:  


    var gr = new GlideRecord('incident'); //creates a new incident
    gr.setValue('short_description','test123'); //sets the value to test123
    var sys_ID = gr.insert(); //inserts the record in the Incident table.
    gs.info(gr.getValue('short_description')); //displays the unencrypted value

When using `getValue()` to get encrypted text, your script no longer returns the ciphertext. Your script returns the plaintext, assuming that the user has access to the cryptographic module.
`getValue()` returns the ciphertext if the user doesn't have access to the cryptographic module.

## Create a field encryption configuration {#ariaid-title2}

Select the fields to be encrypted and identify the encryption type.

### Vorbereitungen

Role required: security_admin

### Prozedur

1. Navigate to AllEdge Encryption ConfigurationEncryption ConfigurationsCreate New.
2. Complete the form.  
   {#t_ConfigureFieldEncryption__table_nb5_jkf_4r__entry__2}

   | Field | Description |
   |-|-|
   | Table | The table that contains the field to be encrypted. |
   | Type | Whether to encrypt a table column or attachments for the table. Select Column. |
   | Column | The field to be encrypted. Appears only when the Type is Column. Only String, Date, Date/Time, Journal, Journal Input, and URL fields are supported. * String and URL fields: You can add an encryption configuration to either a parent table or a child table. * Date and Date/Time fields: You can add an encryption configuration to a parent table only. You cannot add a new encryption configuration to a child table. {#t_ConfigureFieldEncryption__ul_k1q_xtg_3fb} Hinweis: Depending on the number of records affected by the Date and Date/Time fields you are encrypting, it may take up to a few minutes to create the encryption configuration. Make sure that you create the encryption configuration for Date and Date/Time fields when transaction volume on the instance is low. |
   | Encryption type | The encryption type to use. |
   [ ]

   {#t_ConfigureFieldEncryption__table_nb5_jkf_4r}  
   Hinweis:  
   A specific table and field combination can have only one active configuration at a time.
3. Click Submit.

### Nächste Maßnahme

After you add the encryption configuration record, you can create an encryption job
to encrypt existing data. If you do not run an encryption job, Edge encrypts the
existing data the next time the data changes. For details, see [Schedule an encryption job](https://servicenow-prod.fluidtopics.net/1LVqAX0IJTP4xeKTadwgcA#t_RuntheEncryptionJob "You can schedule a job to find and encrypt any unencrypted data in a specified field, using the default encryption key configured for the field. If you do not create an encryption job after configuring a field for encryption, only new values are encrypted.").

## Create a variable encryption configuration {#ariaid-title3}

Select service catalog variables to be encrypted and identify the encryption
type.

### Vorbereitungen

Role required: security_admin

### Prozedur

1. Navigate to AllEdge Encryption ConfigurationVariable Encryption Configuration.
2. In the Edge Encryption Variable Configurations list, click New.
3. Complete the form.  
   {#create-var-encryption__table_nb5_jkf_4r__entry__2}

   | Field | Description |
   |-|-|
   | Variable | The variable to be encrypted. |
   | Encryption type | The encryption type to use. |
   [ ]

   {#create-var-encryption__table_nb5_jkf_4r}
4. Click Submit.
{#create-var-encryption__steps_knv_lqk_5tb}

### Nächste Maßnahme

After you add the encryption configuration record, you can create an encryption job
to encrypt existing data. If you do not run an encryption job, Edge encrypts the
existing data the next time the data changes. For details, see [Schedule an encryption job](https://servicenow-prod.fluidtopics.net/1LVqAX0IJTP4xeKTadwgcA#t_RuntheEncryptionJob "You can schedule a job to find and encrypt any unencrypted data in a specified field, using the default encryption key configured for the field. If you do not create an encryption job after configuring a field for encryption, only new values are encrypted.").

## Deactivate an encryption configuration {#ariaid-title4}

After configuring a field or a table's attachments to be encrypted, you can stop
encryption by deactivating the encryption configuration. After deactivating encryption, you
can run a Decryption job for fields or an Attachment Decryption job for attachments to
remove the encrypted data from the instance.

### Vorbereitungen

Role required: security_admin

### Warum und wann dieser Vorgang ausgeführt wird

Warnung:  
Deactivating an encryption configuration does not delete the encryption record and the encryption type cannot be changed.

### Prozedur

1. Navigate to Edge Encryption ConfigurationEdge Encryption ConfigurationsAll.  
   The Edge Encryption Configurations list is shown.
2. Click on the encryption configuration to be deactivated.  
   The Edge Encryption Configuration form is shown.
3. Click on the Active box.  
   The Active box is clear.
4. Click Update.  
   The Edge Encryption Configurations list is shown.

### Nächste Maßnahme

You can run a Decryption or Attachment Decryption job to decrypt data on the
instance. If you do not run a job, the encrypted data is decrypted the next time it
is changed.

## Schedule an encryption job {#ariaid-title5}

You can schedule a job to find and encrypt any unencrypted data in a specified field,
using the default encryption key configured for the field. If you do not create an
encryption job after configuring a field for encryption, only new values are
encrypted.

### Vorbereitungen

Role required: security_admin

### Prozedur

1. Navigate to Edge Encryption ConfigurationEncryption ConfigurationsAll to create a job for a field or Edge Encryption ConfigurationVariable Encryption Configuration to create a job for a variable.
2. Click the field that you want to schedule an encryption job for.
3. Under Related Links, click Schedule Mass Encryption Job.  
   The Scheduled Encryption Job form is shown with all
   fields populated. The bottom of the form shows records for any previous job
   executions.
4. Fill in the fields on the form, as appropriate.  
   {#t_RuntheEncryptionJob__table_xss_4g2_zs__entry__2}

   | Field | Value |
   |-|-|
   | Name | Enter a descriptive name. |
   | Active | Clear this check box if you want to deactivate this job. |
   | Job Type | Select Encryption. |
   | Table | Select a table. |
   | Column | Select a column. |
   | Estimated record count | Total estimated number of records to process. Populates after selecting Estimate Record Count. |
   | Process Historical Records | Select to process historical records in the Audit table if the field is audited. When encrypting historical records for a field in the Audit table, both new values and old values are encrypted. To learn more about audited fields, see [Auditing](https://servicenow-prod.fluidtopics.net/__Zgq5zmBL6YGcXpXQT~5Q "Track record changes on auditing-enabled tables. By default, the system tracks changes to the incident, change, and problem tables, among others."). |
   | Estimate Maximum Audit Record Count | Estimated maximum number of audited records to process. Populates after selecting Estimate Record Count. This field is only visible when Process Historical Records is selected. Hinweis: The estimate may be larger than the actual number of records processed. |
   | Run | Select the period between job executions. |
   | Starting | Enter the date and time to run the job for the first time. |
   [ ]

   {#t_RuntheEncryptionJob__table_xss_4g2_zs}
5. Click the menu icon in the form header and select Save.
6. To see an estimated count of records to be updated, click Estimate Record Count.
7. To run the job immediately, click Execute Now.

## Schedule a decryption job {#ariaid-title6}

You can schedule a job to decrypt data in an encrypted field, to store clear data in
the instance.

### Vorbereitungen

Hinweis:  
You must mark the encryption record for the field as inactive (clear the Active box) in order to run the decryption job.

Role required: security_admin

### Prozedur

1. Navigate to Edge Encryption ConfigurationEncryption ConfigurationsAll to create a job for a field or Edge Encryption ConfigurationVariable Encryption Configuration to create a job for a variable.
2. Click the field that you want to decrypt.
3. Under Related Links, click Schedule Mass Decryption Job.  
   The Scheduled Encryption Job form is shown with all fields populated. The
   bottom of the form shows records for previous job executions.
4. Fill in the fields on the form, as appropriate.  
   {#t_RuntheDecryptionJob__table_xss_4g2_zs__entry__2}

   | Field | Value |
   |-|-|
   | Name | Enter a descriptive name. |
   | Job Type | Select Decryption. |
   | Active | Clear this check box if you want to deactivate this job. |
   | Table | Select a table. |
   | Column | Select a column. |
   | Estimated record count | Total estimated number of records to process. Populates after selecting Estimate Record Count. |
   | Process Historical Records | Select to process historical records in the Audit table if the field is audited. When encrypting historical records for a field in the Audit table, both new values and old values are encrypted. To learn more about audited fields, see [Auditing](https://servicenow-prod.fluidtopics.net/__Zgq5zmBL6YGcXpXQT~5Q "Track record changes on auditing-enabled tables. By default, the system tracks changes to the incident, change, and problem tables, among others."). |
   | Estimate Maximum Audit Record Count | Estimated maximum number of audited records to process. Populates after selecting Estimate Record Count. This field is only visible when Process Historical Records is selected. Hinweis: The estimate may be larger than the actual number of records processed. |
   | Run | Select the period between job executions. |
   | Starting | Enter the date and time to run the job for the first time. |
   [ ]

   {#t_RuntheDecryptionJob__table_xss_4g2_zs}
5. Click the menu icon in the form header and select Save.
6. To see an estimated count of records to be updated, click Estimate Record Count.
7. To run the job immediately, click Execute Now.

