Zero Trust for AI Workloads on AWS - Signiance 1

Workload identities, Cedar policies, private endpoints and SCPs that stop a tricked agent from reaching what it should not.

In this article

  1. Why Network Perimeters Fail AI Agents
  2. Step 1: Give Every Agent Its Own Workload Identity
  3. Step 2: Enforce Authorization Outside the Model
  4. Step 3: Make the Network Private and Explicit
  5. Step 4: Set Account-Wide Guardrails With SCPs
  6. Step 5: Verify Continuously
  7. How Signiance helps

Your first AI feature probably shipped with one IAM role, one API key and a security group that said “allow from the VPC”. That was fine when the model only answered questions. It stops being fine the day an agent can read your customer table, call Salesforce and open a pull request. Zero trust for AI workloads means every model call, agent and tool request proves who it is and what it may do, every time, instead of inheriting trust from the network it runs in.

AWS frames this well in its AI Security Framework, published in May 2026: “You aren’t adding security to AI. You’re building AI on top of security.” The framework splits controls into three layers (infrastructure, identity and data, AI application) and three phases from prototype to scale. This post turns that into a practical zero trust setup a startup team can build in a few sprints on Amazon Bedrock and Amazon Bedrock AgentCore.

Why Network Perimeters Fail AI Agents

Classic perimeter thinking assumes anything inside the VPC is friendly. Agents break that assumption in three ways.

First, an agent is a confused deputy waiting to happen. It acts with its own permissions, but it takes instructions from users, retrieved documents and tool outputs. If a prompt injection lands, the agent will happily use every permission you gave it.

Second, agents chain calls. A single user request can fan out to a model, a knowledge base, a database and a third-party API. If each hop trusts the previous one, one weak link exposes everything behind it.

Third, the agent is not the user. When an agent runs with a broad service role, a support rep and a finance lead get the same data access through the same chat box. That is an access control bug, not a model bug.

Zero trust fixes this with three habits: verify identity explicitly at every hop, grant least privilege per request, and assume breach by logging and checking everything.

Step 1: Give Every Agent Its Own Workload Identity

Start with identity, because every other control depends on it. AgentCore Identity is AWS’s identity and credential service built for agents. When you deploy to AgentCore Runtime, each agent automatically gets its own workload identity, so you can scope permissions per agent rather than per account.

For inbound requests, AgentCore Runtime supports either IAM SigV4 or a JWT bearer token from your identity provider, but not both on the same runtime. For user-facing agents, JWT is the right choice because the runtime validates the token before your code runs. A minimal authorizer looks like this:

"authorizerConfiguration": {
  "customJWTAuthorizer": {
    "discoveryUrl": "https://cognito-idp.ap-south-1.amazonaws.com/<pool-id>/.well-known/openid-configuration",
    "allowedClients": ["<your-app-client-id>"]
  }
}

You can also check audiences, scopes and custom claims. One trap to avoid: the runtime also accepts a user ID passed in a request header, but the AWS docs are clear that this value is not verified against an authenticated identity and is not meant for production. Use JWT.

For outbound calls, keep secrets out of your agent entirely. AgentCore Identity stores OAuth tokens in a token vault keyed by workload identity and user, and the SDK’s @requires_access_token decorator handles user-consent flows for services like Google APIs. Your agent code never sees a long-lived secret it could leak.

Step 2: Enforce Authorization Outside the Model

The most important zero trust rule for agents: the model should never be the gatekeeper. A recent AWS Security Blog post on propagating user authorization context puts it plainly, with access control enforced by infrastructure and downstream services, not agent code.

There are two places to put that enforcement.

At the tool boundary. Policy in Amazon Bedrock AgentCore became generally available on March 3, 2026. You attach a policy engine to an AgentCore Gateway, and the Gateway intercepts every agent-to-tool call and evaluates it before allowing or denying access. Policies are written in Cedar, the AWS open-source policy language, or authored in natural language that is converted to Cedar. Because it runs outside your agent code, a jailbroken agent still cannot call a tool it is not allowed to. Policy is available in 13 Regions, including Asia Pacific (Mumbai) and Asia Pacific (Sydney). Since June 2026, Policy can also run Bedrock Guardrails checks on tool inputs and outputs at the same Gateway boundary, in a smaller set of Regions, with every evaluation logged through AgentCore Observability.

At the data layer. Pass the user’s identity all the way down and let IAM decide. In the AWS pattern, a Cognito trigger adds a department claim, AgentCore validates it, and the agent assumes a role with session tags. The DynamoDB policy then pins access to rows the user is allowed to see:

{
  "Effect": "Allow",
  "Action": ["dynamodb:GetItem", "dynamodb:Query"],
  "Resource": "arn:aws:dynamodb:ap-south-1:111122223333:table/Accounts",
  "Condition": {
    "ForAllValues:StringEquals": {
      "dynamodb:LeadingKeys": ["${aws:PrincipalTag/department}"]
    }
  }
}

Be honest about where this stops. The same post notes that Bedrock Knowledge Bases retrieval has no IAM condition key for this kind of filter, so metadata filtering there is application-layer enforcement. Treat it as a weaker control and test it like one.

Step 3: Make the Network Private and Explicit

Zero trust does not mean ignoring the network. It means the network is one signal among several, never the only one.

Route model and agent traffic through AWS PrivateLink. Amazon Bedrock offers interface endpoints such as com.amazonaws.<region>.bedrock-runtime and com.amazonaws.<region>.bedrock-agent-runtime, and AgentCore has its own for the data plane, control plane and Gateway. With private DNS enabled, your SDK calls need no code changes.

The catch most teams miss: the default endpoint policy allows full access to Bedrock through the endpoint. Replace it with one that names the roles, actions and model ARNs you actually use. For AgentCore, note that OAuth-based requests through the endpoint need the principal set to * in the endpoint policy, so scope those statements by action and resource instead.

At the edge, the AWS reference architecture for generative AI applications puts CloudFront with AWS WAF in front, an Application Load Balancer, the application in private subnets, and PrivateLink for Bedrock.

Step 4: Set Account-Wide Guardrails With SCPs

Identity and network controls live in each workload. Service control policies make sure no workload can quietly opt out. AWS’s least privilege guidance for Bedrock recommends a dedicated organizational unit for generative AI workloads and SCPs that allowlist approved model families.

A second SCP worth adding denies any model invocation that does not attach a guardrail:

{
  "Version": "2012-10-17",
  "Statement": [{
    "Sid": "DenyInvokeWithoutGuardrail",
    "Effect": "Deny",
    "Action": ["bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"],
    "Resource": "*",
    "Condition": { "Null": { "bedrock:GuardrailIdentifier": "true" } }
  }]
}

Test this in a sandbox account first. Some internal jobs, such as batch evaluations, may need an exception, and you want to discover that before production does.

Step 5: Verify Continuously

Assume breach means you can answer “what did this agent do, for whom, and why was it allowed?” within minutes. The building blocks are already there:

  • AWS CloudTrail for every Bedrock and AgentCore API call
  • AgentCore Observability for agent traces and policy evaluation results
  • Amazon GuardDuty for threat detection across accounts
  • IAM Access Analyzer to find unused or overly broad permissions on agent roles

Review agent role permissions on a schedule, just like human access reviews. Agents accumulate permissions faster than people do, because every new tool feels urgent.

A Practical Rollout Order

You do not need all of this on day one. A sensible order for a small team:

  1. JWT inbound auth and one workload identity per agent
  2. Private endpoints with custom endpoint policies
  3. Gateway plus Policy in front of every tool that writes data
  4. Session-tag based data access for multi-tenant or role-sensitive data
  5. SCPs and scheduled access reviews

How Signiance helps

Our Security and Compliance team designs identity-first architectures for AI workloads: AgentCore Identity and Policy setup, PrivateLink and endpoint policies, SCP guardrails and audit-ready logging that holds up in SOC 2 and customer security reviews. If your agents are moving from demo to production, we can review your current setup and give you a prioritized zero trust plan.

Book a free consultation or a free AI Native readiness assessment at signiance.com.