TL;DR: Agentic AI built on Amazon Bedrock is being used to trigger Lambda, EC2, S3, and RDS actions through MCP, but shared admin credentials and long-lived access leave request origin, scope, and accountability unclear, according to Teleport. The real security problem is not automation itself but whether each agent action is bound to a unique identity and a short-lived, policy-checked session.
NHIMG editorial — based on content published by Teleport: 4 Ways to Secure Bedrock Agent-Initiated Actions with Teleport
By the numbers:
- When AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes and as quickly as 9 minutes in some cases.
Questions worth separating out
Q: How should security teams govern AI agent access to cloud resources?
A: They should give each agent a unique identity, require policy approval before any session starts, and scope access to one task, one resource set, and one time window.
Q: Why do shared credentials create risk in agentic workflows?
A: Shared credentials erase the line between requester and operator, so security teams cannot tell whether a Lambda invocation, database query, or EC2 session came from the right agent and task.
Q: What breaks when AI agents are given broad cloud permissions?
A: Broad permissions turn a task-specific workflow into general-purpose access.
Practitioner guidance
- Bind each agent workflow to a unique identity Register every Bedrock or MCP-driven agent with a distinct identity so requests can be attributed to one actor, one purpose, and one session.
- Replace standing credentials with per-session access Issue short-lived certificates or tokens only after policy approval, and expire them when the task ends.
- Scope cloud permissions to exact resources and actions Allow Lambda only for approved ARNs, EC2 only for tagged remediation instances, S3 only for the intended prefix, and RDS only for designated databases under read-only permissions.
What's in the full article
Teleport's full blog post covers the operational detail this post intentionally leaves for the source:
- Step-by-step policy examples for Lambda, EC2, S3, and RDS access boundaries.
- The exact request flow between the MCP server and Teleport for issuing short-lived certificates.
- How Teleport metadata captures agent identity, task description, and resource context for audit trails.
- The article's practical walkthrough of applying the model across support, remediation, training, and finance agents.
👉 Read Teleport's analysis of Bedrock agent-initiated actions and scoped access →
Bedrock agent-initiated actions: are your controls keeping up?
Explore further
View Full Forum → | NHI Foundation Course → | Our Services →
Agent-initiated cloud access is still an NHI problem before it becomes an AI problem. The article is about Bedrock actions, but the security issue is the same one that governs service accounts and API tokens: what identity is allowed to touch which resource, under what scope, and for how long. That means the first question is not whether the requester is intelligent, but whether the access path is uniquely attributable and time bound. Practitioners should treat AI agent access as a non-human identity control problem first.
A few things that frame the scale:
- When AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes and as quickly as 9 minutes in some cases, according to LLMjacking: How Attackers Hijack AI Using Compromised NHIs.
- DeepSeek accidentally embedded over 11,000 secrets in its training data and left a database exposed online, revealing more than one million sensitive records including chat histories, backend credentials, and API keys.
A question worth separating out:
Q: How can teams tell whether agent access is actually controlled?
A: Look for three signals: every approved session maps to one agent identity, each action is tied to a specific resource and purpose, and credentials expire when the task ends. If you cannot trace those three elements in logs, the access model is too loose for production use.
👉 Read our full editorial: Bedrock agent actions need scoped identity, not shared credentials