Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing

GET STARTED

API DirectoryBrowse 10,000+ APIs ready for AI agent integrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI readiness using our scorecardArazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
All ResourcesEverything in one placeBlogLatest articles and insightsTech Talk NewsletterAPIs, AI agents, architecture and strategyWebinarsLive sessions and on-demand recordingsReports & WhitepapersOriginal research on enterprise AI
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
All ResourcesBlogTech Talk NewsletterWebinarsReports & Whitepapers
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Security / Azure / Azure SQL Database Datamasking Policies and Rules
Azure SQL Database Datamasking Policies and Rules logo

Microsoft Azure Azure SQL Database Datamasking Policies and Rules

Browse all Azure APIs
41
AI ReadinessFoundational (D-)41/100
See full scorecard
Agent-ready OpenAPI document · curated by JenticSecurityComplianceoauth24 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Configure dynamic data masking on Azure SQL databases by setting the dataMaskingPolicy and managing per-column rules so non-privileged users see masked values for sensitive fields.

Use for: Enable dynamic data masking on an Azure SQL database, I want to mask the email column on a customers table, List every data masking rule on an Azure SQL database, Update an existing data masking rule to change the masking function

Not supported: Does not handle row-level security, column encryption, or transparent data encryption - use for Microsoft.Sql dynamic data masking policy and rule operations only.

Jentic publishes the only available OpenAPI specification for Azure SQL Database Datamasking Policies and Rules, keeping it validated and agent-ready. The API manages dynamic data masking on Azure SQL databases under Microsoft.Sql, exposing the per-database dataMaskingPolicies resource and its child rules. Through 4 endpoints it supports reading and updating the masking policy and creating, listing, and deleting per-column rules so non-privileged users see masked values for sensitive fields.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Azure SQL Database Datamasking Policies and Rules to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Azure SQL Database Datamasking Policies and Rules, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fazure.com%2Fazure-sql-database-datamasking-policies-and-rules" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fazure.com%2Fazure-sql-database-datamasking-policies-and-rules" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Azure SQL Database Datamasking Policies and Rules API.

Read or update the dataMaskingPolicy on an Azure SQL database to switch masking on or off

Create or update a per-column data masking rule with a masking function (default, email, number, text, custom)

List every data masking rule attached to an Azure SQL database's masking policy

Delete a data masking rule when a column is removed or no longer requires masking

Apply masking rules across multiple columns to enforce least-privilege views of sensitive data

Audit which columns have masking rules across a database for compliance evidence

Use Cases

Patterns agents use Azure SQL Database Datamasking Policies and Rules API for, with concrete tasks.

★ Mask PII Columns on a Customer Database

Apply dynamic data masking to PII columns (email, phone, ssn) on an Azure SQL database so non-privileged readers see masked values without changing the underlying data. PUT the dataMaskingPolicy to Enabled, then create per-column rules under /dataMaskingPolicies/{policyName}/rules/{ruleName} with the appropriate masking function. The rules apply at query time and are transparent to applications using privileged accounts.

Enable dataMaskingPolicy on database 'customers-db' under server 'prod-sql-eus' and create a rule masking the column 'email' on table 'dbo.customers' with the email masking function

Audit Masking Coverage Across a Database

List every data masking rule on a database and produce an audit showing which sensitive columns are masked and which still expose plaintext values. The list endpoint returns rules with table, column, and masking function so an audit can flag gaps against a sensitive-column inventory. Pair with PUT to remediate gaps in the same automated sweep.

List every data masking rule on database 'customers-db' and emit a CSV of (tableName, columnName, maskingFunction) rows

Decommission a Masking Rule on Schema Change

When a column is dropped from a table, the associated masking rule must be deleted to prevent stale rules from accumulating. DELETE on /dataMaskingPolicies/{policyName}/rules/{ruleName} removes the rule cleanly without touching other rules or the parent policy. This keeps the masking configuration aligned with the database schema across migrations.

Delete the data masking rule named 'email-mask' on database 'customers-db' under server 'prod-sql-eus'

Agent-Driven Masking Policy Enforcement via Jentic

An AI agent uses Jentic to enforce a data masking policy across every Azure SQL database in a subscription: ensuring dataMaskingPolicy is Enabled and the canonical set of rules is in place. The agent searches Jentic for 'list data masking rules on an azure sql database', loads the schema, and chains it into PUT and DELETE operations to converge each database to the policy. Azure AD bearer tokens are sourced from your Jentic One instance per call.

Search Jentic for 'list data masking rules on an azure sql database', list rules on every database under server 'prod-sql-eus', and PUT or DELETE rules so each database matches the canonical masking policy

Key Endpoints

4 endpoints — jentic publishes the only available openapi specification for azure sql database datamasking policies and rules, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

PUT

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}

Create or update the dataMaskingPolicy on a database

GET

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}

Get the dataMaskingPolicy on a database

PUT

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}

Create or update a data masking rule

GET

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules

List data masking rules under a policy

PUT

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}

Create or update the dataMaskingPolicy on a database

GET

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}

Get the dataMaskingPolicy on a database

PUT

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}

Create or update a data masking rule

GET

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules

List data masking rules under a policy

Jentic AI Readiness Score

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

A

Azure SQL Database Datamasking Policies and Rules

- Foundational (D-)
41/100
73
Foundational Compliance
55
Developer Experience & Jentic Compatibility
19
AI-Readiness & Agent Experience
94
Agent Usability
35
Security
100
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
73

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: A-Signals: 4
94%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

0%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

100%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

55

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: CSignals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

25%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

93%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

19

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: FSignals: 4
76%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

0%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

0%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

35

Security

Trust, risk posture, and security compliance.

Grade: FSignals: 1
35%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

100

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: A+Signals: 1
100%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the Azure SQL data masking API by hand means registering an Azure AD app, acquiring bearer tokens for https://management.azure.com/, and handling ARM throttling and error responses against the Microsoft.Sql provider yourself. Through Jentic you install once, import Azure SQL Database Datamasking Policies and Rules from the API Directory, store the Azure AD credential once, and your agent calls it.

Permission scoping

The database and rule ids travel in the URL path (/databases/{databaseName}/dataMaskingPolicies/{policyName}/rules/{ruleName}), so a rule can pin your agent to one database: it can read the masking policy and list its rules there and nothing else. You choose the operations it may call, so the create-or-update that changes a masking rule is not included unless you add it.

Credential isolation

Your Azure AD credential is stored once, encrypted, by your own Jentic One instance and exchanged for a short-lived bearer token at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'mask a column on an Azure SQL database' or 'list data masking rules on an azure sql database', and Jentic returns the matching Microsoft.Sql dataMaskingPolicies operation with its input schema so the agent calls the right endpoint without browsing the ARM reference.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

Azure SQL Database Backup Long Term Retention Policy

→

Manages long-term backup retention on Azure SQL databases that hold masked data.

Use alongside masking when the agent needs to ensure long-term retention is configured on the same database.

Complementary

Azure SQL Database Disaster Recovery Configuration

→

Configures failover groups and DR replication on Azure SQL databases.

Use to ensure DR replication is in place on databases whose masking policy is being enforced.

Complementary

Azure SQL Database (checkNameAvailability)

→

Validates Azure SQL server names during provisioning of the server that hosts the masked database.

Use during initial provisioning; this masking API operates on already-provisioned databases.

FAQs

Specific to using Azure SQL Database Datamasking Policies and Rules API through Jentic.

Why is there no official OpenAPI spec for Azure SQL Database Datamasking Policies and Rules?

Microsoft Azure does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Azure SQL Database Datamasking Policies and Rules via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the Azure SQL Database Datamasking API use?

The API uses Azure Active Directory OAuth 2.0 (the azure_auth scheme) with the user_impersonation scope on https://management.azure.com/. Through Jentic, the bearer token is fetched from your Jentic One instance and injected at call time so the agent never sees the raw client secret.

How do I create a data masking rule for a specific column?

PUT to /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName} with a body that includes schemaName, tableName, columnName, and maskingFunction (Default, Email, Number, Text, or CCN).

What are the rate limits for the Azure SQL Database Datamasking API?

The spec does not declare per-API limits; calls are throttled by Azure Resource Manager's per-subscription budget for read and write operations on Microsoft.Sql. On HTTP 429, honour the Retry-After header before retrying.

How do I list every masking rule on a database through Jentic?

Search Jentic for 'list data masking rules on an azure sql database', load the schema for GET /dataMaskingPolicies/{policyName}/rules, and execute it. Jentic injects the Azure AD bearer token automatically; the agent only supplies the server, database, and policy names.

Is the Azure SQL Data Masking API free?

Yes - control plane calls to manage masking policies and rules are free. Dynamic data masking itself is included in Azure SQL Database service tiers at no additional charge.

Can I limit what my agent is allowed to do with the Azure SQL Database Datamasking Policies and Rules API?

Yes. Because you self-host Jentic One, your own rules decide which operations and credentials the agent may use, and the database and rule ids travel in the URL path, so a rule can pin the agent to a single database where it reads the masking policy and lists its rules and nothing else. You choose the operations the agent may call, so the create-or-update that changes a masking rule and the delete that removes one are not available unless you add them. The Azure AD credential is exchanged for a short-lived bearer token at execution time and never enters the agent's prompt or logs.

GET STARTED

Start building with Azure SQL Database Datamasking Policies and Rules API

Explore with Jentic One
View OpenAPI Document