# Identity-aware AI data agents with AWS Lake Formation and Trusted Identity Propagation

DevFeed: [Identity-aware AI data agents with AWS Lake Formation and Trusted Identity Propagation](<https://devfeed.tech/articles/identity-aware-ai-data-agents-with-aws-lake-formation-and-trusted-identity-propagation-65873.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/security/identity-aware-ai-data-agents-with-aws-lake-formation-and-trusted-identity-propagation/>)

Author: Thiyagarajan Mani

Published: 2026-10-06T16:07:06Z

Content type: tutorial

Language: en

Sources: [AWS Security Blog](<https://devfeed.tech/sources/aws-security-blog.md>)

Topics: [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [AWS Lake Formation](<https://devfeed.tech/topics/aws-lake-formation.md>), [Security, Identity, & Compliance](<https://devfeed.tech/topics/security-identity-compliance.md>), [identity and access management](<https://devfeed.tech/topics/identity-and-access-management.md>), [HashiCorp Vault](<https://devfeed.tech/topics/hashicorp-vault.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [amazon-cognito](<https://devfeed.tech/tags/amazon-cognito.md>), [amazon-simple-storage-service-amazon-s3](<https://devfeed.tech/tags/amazon-simple-storage-service-amazon-s3.md>), [aws-cloudtrail](<https://devfeed.tech/tags/aws-cloudtrail.md>), [aws-glue](<https://devfeed.tech/tags/aws-glue.md>), [aws-iam](<https://devfeed.tech/tags/aws-iam.md>), [aws-iam-identity-center](<https://devfeed.tech/tags/aws-iam-identity-center.md>), [aws-identity-and-access-management-iam](<https://devfeed.tech/tags/aws-identity-and-access-management-iam.md>), [aws-lake-formation](<https://devfeed.tech/tags/aws-lake-formation.md>), [identity](<https://devfeed.tech/tags/identity.md>), [security-blog](<https://devfeed.tech/tags/security-blog.md>), [security-identity-compliance](<https://devfeed.tech/tags/security-identity-compliance.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

This tutorial presents an AWS Bedrock AgentCore pattern for passing a user's identity through an AI data agent to AWS Lake Formation. A Lambda function exchanges the identity token for user-scoped credentials, allowing Lake Formation to apply existing data grants and CloudTrail to record the user's access. The token travels in HTTP headers rather than the model's prompts or tool arguments.

## Source excerpt

You're building a data agent that lets business users ask questions about lakehouse data in natural language. You've already built governance policies that control who can access which datasets. The challenge is making the agent respect those rules without rebuilding them in your application code. When a user asks a question, the agent maps it [...]