Skill 2.1.8
Secure GraphQL, REST, and MCP endpoints
Key Concepts
The runtime.host.authentication.provider setting chooses how callers are identified: EntraId or Custom validate JWT bearer tokens against an audience and issuer, AppService trusts App Service authentication headers, Simulator is for local testing only, and Unauthenticated (the default) runs every request as anonymous. Each entity's permissions list roles (anonymous, authenticated or custom roles from the token) and their actions; the X-MS-API-ROLE header selects a custom role.
fields.include and fields.exclude hide columns per role, and a database policy such as @item.OwnerId eq @claims.oid filters rows for read, update and delete. For MCP, runtime.mcp.dml-tools can turn off tools such as delete-record, and an entity's mcp.dml-tools: false hides it from agents. Further controls are CORS origins, GraphQL introspection and depth limits in production, HTTPS, and a managed identity for DAB's own database connection.