identity.model
dedicated-agent-identity
Evidence (1)
- Understanding workload identities
When you deploy an agent using AgentCore Runtime, a workload identity is automatically created and associated with your agent.
Home / Products / Amazon Bedrock AgentCore
Product profile · enterprise agent platform
Coverage snapshot
identity.modeldedicated-agent-identity
When you deploy an agent using AgentCore Runtime, a workload identity is automatically created and associated with your agent.
identity.per_agent_supportedsupported
When you deploy an agent using AgentCore Runtime, a workload identity is automatically created and associated with your agent.
identity.user_impersonation_supportedsupported
AgentCore Identity exchanges an inbound user access token for a new, scoped downstream token. The exchanged token carries both the agent's identity and the original caller's identity.
identity.revocablesupported
AgentCore Control Plane provides the DeleteWorkloadIdentity operation to delete a workload identity by name; a successful operation returns HTTP 204.
execution.shell_availablesupported
These examples demonstrate how to execute terminal commands in a Code Interpreter session.
execution.arbitrary_code_availablesupported
These examples demonstrate how to execute code in a Code Interpreter session.
execution.package_install_availablesupported
`/bin/bash -c "pip install -r requirements.txt"`
execution.environment_typeDedicated AWS-managed microVM per AgentCore Runtime session.
Each user session in AgentCore Runtime receives its own dedicated microVM with isolated compute, memory, and filesystem resources. After session completion, the microVM is terminated and memory is sanitized.
filesystem.readsupported
Your agent reads and writes files at the mount path.
filesystem.writesupported
Your agent reads and writes files at the mount path.
filesystem.scopeS3 Files or EFS access points are mounted at an administrator-configured path in the Code Interpreter session.
mount at a path you specify
filesystem.isolatedsupported
Each user session in AgentCore Runtime receives its own dedicated microVM with isolated compute, memory, and filesystem resources. After session completion, the microVM is terminated and memory is sanitized.
network.external_access_availablesupported
Allows the tool to access public internet resources
network.defaultrestricted
default configuration with the most restrictive options
restricted
When connected to a VPC, AgentCore Runtime does not have internet access by default and can communicate only with resources inside the same VPC unless the VPC is configured for internet access.
network.allowlist_supportedsupported
Security groups act as virtual firewalls for VPC-connected AgentCore Runtime resources. Outbound rules allow the runtime to connect to required VPC resources, and least-privilege rules should allow only the minimum required traffic.
network.admin_lock_supportedsupported
IAM condition keys can require users to deploy only VPC-connected AgentCore Runtime resources and can enforce use of approved subnets and security groups by denying create or update requests that do not match policy.
actions.external_api_supportedsupported
MCP targets define APIs, Lambda functions, MCP servers, or tool definitions that the gateway aggregates into a unified MCP server.
sandbox.availablesupported
Each user session runs in a dedicated microVM with isolated CPU, memory, and filesystem. Commands and agent code cannot access other customers' workloads or escape the VM boundary. After session completion, the entire microVM is terminated and memory is sanitized.
sandbox.defaultenabled
Each user session in AgentCore Runtime receives its own dedicated microVM with isolated compute, memory, and filesystem resources. After session completion, the microVM is terminated and memory is sanitized.
sandbox.scopeEach user session runs in a dedicated microVM with isolated CPU, memory, and filesystem. AWS documents that commands and agent code cannot access other customers' workloads or escape the VM boundary; the microVM is terminated and memory sanitized after the session.
Each user session runs in a dedicated microVM with isolated CPU, memory, and filesystem. Commands and agent code cannot access other customers' workloads or escape the VM boundary. After session completion, the entire microVM is terminated and memory is sanitized.
sandbox.persistenceFiles and data are available during the session lifetime and are documented as cleaned up at termination; the same page separately lists a 30-day TTL retention policy for session data.
Files and data created during a session are available throughout the session’s lifetime.
When the session is terminated, the session no longer persists and the data is cleaned up.
The time to live (TTL) retention policy for the session data is 30 days.
credentials.user_delegation_supportedsupported
Use user-delegated authentication (Authorization Code Grant) when your agent acts on behalf of a specific user. Use autonomous authentication (Client Credentials Grant) when the agent operates independently.
credentials.scoped_token_supportedsupported
AgentCore Identity exchanges an inbound user access token for a new, scoped downstream token. The exchanged token carries both the agent's identity and the original caller's identity.
credentials.secret_injection_supportedsupported
The `requires_access_token` decorator retrieves an authorized token from AgentCore Identity and injects it into the decorated agent function's `access_token` argument for use in a downstream resource-server call.
credentials.persistence_documentedFor OAuth2 authorization-code flows, AgentCore Identity stores access tokens and provider-issued refresh tokens when present in a secure token vault and uses stored refresh tokens to obtain new access tokens. Provider-specific configuration and token lifetimes apply.
For OAuth2 authorization-code flows, AgentCore Identity stores access tokens and provider-issued refresh tokens, when present, in its secure token vault. It automatically uses stored refresh tokens after access-token expiry; provider configuration and token lifetimes vary.
audit.session_log_availablesupported
When observability is enabled, AgentCore can deliver structured runtime application logs to CloudWatch Logs, Amazon S3, or Firehose. Log records include session_id, request_payload, and response_payload.
audit.action_log_availablesupported
Enable CloudTrail logging — AWS CloudTrail records API calls including InvokeAgentRuntime, InvokeAgentRuntimeCommand, InvokeAgentRuntimeCommandShell, and control plane operations. Each record includes caller identity, timestamp, source IP address, and response status. Use CloudWatch Logs for command auditing.
audit.admin_visibilityCloudTrail records caller identity, timestamp, source IP address, and API response status. CloudWatch Logs receive the request ID and input command, which can be correlated with CloudTrail records.
CloudTrail records include caller identity, timestamp, source IP address, and response status. AgentCore Runtime sends the request ID and input command to your agent's CloudWatch Logs log group. Use the request ID to correlate CloudTrail records with CloudWatch Logs.
audit.export_supportedsupported
downloaded from CloudWatch using the AWS CLI or any of the AWS SDKs
policy.tool_allowlistsupported
The response returns only the gateway tools that the configured policies allow the principal to see; each tool call is evaluated separately before authorization.
policy.tool_denylistsupported
Gateway policy evaluation determines whether a tool call is allowed or denied; tools denied by policy do not appear in the principal's tool listing.
policy.network_policyAgentCore Runtime can connect to private resources through VPC connectivity. AWS documents private subnets with NAT gateways for outbound internet access; public subnets do not provide internet access for the runtime.
Deploy runtimes in a VPC for private resource access — Configure VPC connectivity to access private databases, internal APIs, and services without exposing them to the internet. Public subnets do not provide internet access for AgentCore Runtime. Always place runtime ENIs in private subnets with a route to a NAT gateway for outbound internet access.
policy.central_admin_policyAWS IAM identity and resource policies can restrict AgentCore permissions to specific actions and runtime resources; IAM condition keys can require approved VPC subnets and security groups.
Create custom IAM policies that restrict permissions to only the specific resources and actions required. Scope permissions to specific runtime ARNs. Use IAM condition keys to enforce VPC deployments — use bedrock-agentcore:subnets and bedrock-agentcore:securityGroups condition keys to require that all runtimes are deployed in approved VPCs.
policy.org_level_enforcementsupported
IAM condition keys can require users to deploy only VPC-connected AgentCore Runtime resources and can enforce use of approved subnets and security groups by denying create or update requests that do not match policy.
runtime.background_executionsupported
An active session can be processing a request, executing a command, or doing background tasks. The default idle timeout is 15 minutes and the default maximum compute lifetime is 8 hours; Instances can have a lifecycle up to 14 days.
runtime.max_duration_documentedCode Interpreter sessions default to 900 seconds (15 minutes) and can be configured at creation for up to 8 hours.
Default: 900 seconds (15 minutes)
Configurable: Can be adjusted when creating sessions, up to 8 hours
Up to 8 hours per microVM lifecycle; up to 14 days on AgentCore Runtime Instances.
An active session can be processing a request, executing a command, or doing background tasks. The default idle timeout is 15 minutes and the default maximum compute lifetime is 8 hours; Instances can have a lifecycle up to 14 days.
runtime.persistence_between_runssupported
Files and data created during a session are available throughout the session’s lifetime.
runtime.termination_controlsupported
Terminates an active code interpreter session in Amazon Bedrock AgentCore.
network.denylist_supported Not checkedrepo.read Not checkedrepo.write Not checkedrepo.commit Not checkedrepo.pull_request Not checkedrepo.merge Not checkedactions.send_message_supported Not checkedactions.modify_external_system_supported Not checkedapproval.supported Not checkedapproval.default Not checkedapproval.admin_required_supported Not checkedapproval.action_level_configuration Not checkedNo published contractual terms are associated with this product.
No changes for this product have been published.