> For the complete documentation index, see [llms.txt](https://docs.uptiq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uptiq.ai/platform/control-center/admin/pii-masking.md). Agents can also search and read this documentation through its [MCP server](https://docs.uptiq.ai/~gitbook/mcp).

# PII Masking

Choose the PII masking provider and the entity types to tokenize for your account.

PII masking protects sensitive data before it reaches a model. In **Admin** > **PII Masking**, you choose the PII masking provider for your account and the entity types to tokenize. The page is called **PII Masking & Tokenization**.

<figure><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-225854b63320cf27949c808064348f8ed363dd37%2Fqore_control-center_admin-pii-masking_rounded_shadow.png?alt=media" alt="The PII Masking and Tokenization page on the Deny list tab, with the PII masking provider set to follow the organization and the entity groups Technical and Other selected"><figcaption><p>PII Masking &#x26; Tokenization in Control Center.</p></figcaption></figure>

To set it on a single agent, open **Agent Config** > **Guardrails** and select **Sensitive Data Masking**. See [PII masking](https://docs.uptiq.ai/platform/console/agent-builder/deploy/guardrails/pii-masking.md).

## Choose a provider

Under **PII masking provider**, select one of these options:

| Option                   | Masking behavior                                                                                                                |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------- |
| **Follow organization**  | Uses the organization's provider. The option shows that provider, such as **Follow organization (currently Google Cloud DLP)**. |
| **AWS Comprehend**       | Masks with AWS Comprehend. The line under the picker shows "Managed ML detection, broadest entity coverage."                    |
| **Azure Text Analytics** | Masks with Azure Text Analytics. The line under the picker shows "Managed ML detection with EU identifiers."                    |
| **Google Cloud DLP**     | Masks with Google Cloud DLP.                                                                                                    |
| **Regex**                | Masks with Regex.                                                                                                               |
| **Off**                  | Turns masking off. The line under the picker shows "No masking; text reaches the model unchanged."                              |

When you select a provider, a line under the picker describes it. For **Follow organization (currently Google Cloud DLP)**, the line shows "Managed inspection with custom infoTypes."

## Set the entity types

Under **Entities**, choose which entity types to mask.

Select **Deny list** or **Allow list** to choose how the list works:

| Tab            | How the list works                                                                                                   |
| -------------- | -------------------------------------------------------------------------------------------------------------------- |
| **Deny list**  | "Only the entities you select are masked. Everything else passes through." A count shows **X of Y entities masked**. |
| **Allow list** | "Only the entities you select pass through. Everything else is masked." A count shows **X of Y entities allowed**.   |

In the list:

* Select **Select all** or **Clear** to select or clear every entity type at once. They work the same way in both tabs.
* Type in **Search entity types** to narrow the list to matching entity types.
* Expand a group, such as **Technical** or **Other**, to see its entity types. Each group shows how many of its entity types you selected.

The groups depend on the provider:

| Provider                 | Groups                                                                                                      |
| ------------------------ | ----------------------------------------------------------------------------------------------------------- |
| **Google Cloud DLP**     | **Technical** and **Other**.                                                                                |
| **AWS Comprehend**       | **Identity**, **Contact**, **Financial**, **Technical**, and **Other**.                                     |
| **Azure Text Analytics** | **Other**.                                                                                                  |
| **Regex**                | **Identity** (US SSN, Passport), **Contact** (Email, Phone), and **Financial** (Bank account, Card number). |

## Who can change the setting

Changing the setting needs the capability **Edit the settings of their own account**. On **Admin** > **Roles**, it is listed under **Settings**, and **Account Admin** and **Organisation Admin** have it. No other role has it.

## Set the provider to Off

When you select **Off**, **No entity types to configure** replaces the entity list: "Masking is off for this account. There are no PII entity types to configure."

## Save your changes

**Save** isn't available until you change something. Select **Save** to keep your changes. The message **PII masking updated.** confirms the save, and the provider and entity types you saved are still there when you reload the page.

{% hint style="warning" %}
If you reload the page before you save, your unsaved change is discarded and the last saved setting returns.
{% endhint %}

Each account has its own setting. Saving a change in one account doesn't change the setting of another account.

## Agents

An agent uses its own provider when it has one. On runtime 1.5, an agent with no provider of its own uses the account's provider. For the details, including runtime 1.4, see [Which provider the agent uses](https://docs.uptiq.ai/platform/console/agent-builder/deploy/guardrails/pii-masking.md#which-provider-the-agent-uses).

## Audit trail

Each save adds an **Account Updated** entry in the **Accounts** module to **Observe** > **Audit Trails**. Open the entry to see its **Timestamp**, **Actor**, **Module**, **Action**, and **Service**.

## What's next

{% content-ref url="/pages/IDT0tA2hSZZFunpkhevN" %}
[Roles](https://docs.uptiq.ai/platform/control-center/admin/roles.md)
{% endcontent-ref %}

{% content-ref url="/pages/hUMzWQdTwlINlFotYqHJ" %}
[PII masking](https://docs.uptiq.ai/platform/console/agent-builder/deploy/guardrails/pii-masking.md)
{% endcontent-ref %}

***

{% columns %}
{% column width="83.33333333333334%" %}

<p align="right"><em>Maintained by</em> <mark style="color:green;">Abhishek Paul</mark><br><code>AI-assisted, human-approved</code></p>
{% endcolumn %}

{% column width="16.666666666666664%" %}

<div align="left"><img src="https://1326225582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0qmgQjJ5aArDTj2ACFHG%2Fuploads%2Fgit-blob-d034645b4f8f8ee661985f5306b60ded3289653c%2Fmaintainer-abhishek-paul.png?alt=media" alt="" width="60"></div>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.uptiq.ai/platform/control-center/admin/pii-masking.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
