---
sourceDocument: Brazil Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-security

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Field encryption and auto-generate access policies agentic workflow

# Field encryption and auto-generate access policies agentic workflow {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Field encryption and auto-generate access policies agentic workflow

The Field Encryption and Auto-Generate Access Policies agentic workflow in ServiceNow automates the process of encrypting a table field and creating the necessary access policies for roles that require access to that field.
This workflow simplifies securing sensitive data by identifying which roles already have access, allowing you to refine the list, and then generating module access policies accordingly.
This prevents manual errors such as missing roles that could lead to unintended data inaccessibility.
Show full answer Show less  
The workflow is activated by default when you install ServiceNow Otto for Vault, and can be customized by duplicating and adjusting its settings.

## Practical Use and Requirements

To use the workflow effectively, users need the following roles:

* **snvaultconsole.vaultconsoleadmin**
* **securityadmin**
* **snkmf.admin**
* **snkmf.cryptographicmanager**

Note that **securityadmin** is not part of the **snvaultconsole.vaultconsoleadmin** role composition and must be assigned separately by an administrator. Users should elevate their roles before running the workflow. If the securityadmin role is missing or inactive, contact your admin.

To access the workflow, navigate to **All \> AI Agent Studio \> Create and manage** and select **Field Encryption and Auto Generate Access Policies**. Alternatively, invoke it via the ServiceNow Otto panel. The workflow requires user confirmation before encrypting fields or creating policies, ensuring control over changes.

Important: The workflow does not evaluate elevated roles when retrieving access roles; you must grant access to elevated roles separately.

## How It Works

The workflow uses the **vaultencryptionmodule** to encrypt the selected field and creates corresponding module access policies. It automates role discovery by analyzing access control lists and logs via two AI agents:

* **Field access auditor agent:** Evaluates the target table and field, identifies non-elevated user roles with access, applies any role list modifications, and provides the final role list.
* **Vault crypto module manager agent:** Performs encryption of fields ensuring only authorized roles have access.

## Benefits for ServiceNow Customers

* Automates encryption and access policy creation, reducing manual overhead and risk of errors.
* Ensures sensitive data is accessible only to authorized roles, improving security compliance.
* Provides confirmation steps to maintain control over encryption and policy changes.
* Integrates with ServiceNow Vault and Otto, leveraging AI agents for efficient role detection and encryption management.  
The field encryption and auto-generate access policies agentic workflow encrypts a table field and creates the access policies that its roles need.  
Note:  
Depending on your license, you will have access to certain application features, generative AI skills, agentic workflows, and AI agents. For more information, see [ServiceNow product tiers](https://www.servicenow.com/docs/access?context=ai-native-sku-overview&version=brazil&pubname=brazil-intelligent-experiences&ft:locale=en-US).

## Field encryption and auto-generate access policies agentic workflow overview

After you encrypt a field, only the roles that have access to the encryption module can read the data. Identifying those roles manually means reviewing access control lists (ACLs), or configuring Access Observer, waiting for the logs,
and building the role list from the results. If a role is missing from the list, users lose access to the data and you must add that role afterward.

This agentic workflow retrieves the roles that can read the field. You refine the list, and then the workflow creates a module access policy for each role in the final list and encrypts the field.

When you install ServiceNow Otto for Vault, this agentic workflow is turned on by default.

To modify the agentic workflow, [duplicate it](https://www.servicenow.com/docs/access?context=clone-aia-usecase&version=brazil&pubname=brazil-intelligent-experiences&ft:locale=en-US), and adjust the settings according to your requirements.

## Use the field encryption and auto-generate access policies workflow

Encrypt a field and create the module access policies for it. The workflow requires the following roles:

* sn_vault_console.vault_console_admin
* security_admin
* sn_kmf.admin
* sn_kmf.cryptographic_manager

Select your profile icon, select Elevate role, and then elevate to the roles that appear in the list.  
Note:  
The `security_admin` role isn't included in the `sn_vault_console.vault_console_admin` role composition and doesn't appear in the Elevate role list. A user with the admin role must assign it through the standard user-administration process. If the workflow reports that you don't have the `security_admin` role, or that the role isn't active for your session, contact your admin. For more information, see [ServiceNow Vault roles](https://www.servicenow.com/docs/29JMuATlNAn~6s6~53FNbg "Learn and set up the roles necessary to use ServiceNow Vault.").  
To access and configure the agentic workflow:

1. Navigate to AllAI Agent StudioCreate and manage.
2. Select Field Encryption and Auto Generate Access Policies.  
Note:  
To invoke the agentic workflow, open the ServiceNow Otto panel and select Field Encryption and Auto Generate Access Policies. The workflow asks you to confirm each action before it runs. Nothing is encrypted and no policy is created until you confirm. Important:  
Elevated roles aren't evaluated when the workflow retrieves the roles that have access to the field. Grant access to elevated roles separately. The workflow states this once in each conversation.

The workflow encrypts the field with the `vault_encryption_module` encryption module and creates the module access policies against the same module.

## AI agents used in the field encryption and auto-generate access policies agentic workflow

{#now-assist-vault-field-encryption-access-policies__entry__2}

| Name | Description |
|-|-|
| Field access auditor agent | Evaluates the table and field, retrieves the non-elevated user roles that have access to the field, applies the changes that you make to the role list, and returns the final list of roles. |
| Vault crypto module manager agent | Uses various tools to encrypt fields so that only users with particular roles have access to those fields. |
[Table 1. AI agent names and descriptions]

There might be AI agents installed on your instance that are not used in agentic workflows. To learn how to see all agents that are available to you, see [Find AI agents](https://www.servicenow.com/docs/access?context=find-ai-agents&version=brazil&pubname=brazil-intelligent-experiences&ft:locale=en-US).

*[\>]: and then


