VPC and Amazon PrivateLink with Amazon Agent Registry
You can use Amazon PrivateLink to create a private connection between your VPC and Amazon Agent Registry. You can access Amazon Agent Registry as if it were in your VPC, without the use of an internet gateway, NAT device, VPN connection, or Amazon Direct Connect connection. Instances in your VPC don’t need public IP addresses to access Amazon Agent Registry.
You establish this private connection by creating an interface endpoint , which is powered by Amazon PrivateLink. We create an endpoint network interface in each subnet that you enable for the interface endpoint. These are requester-managed network interfaces that serve as the entry point for traffic destined for Amazon Agent Registry.
For more information, see Access Amazon services through Amazon PrivateLink in the Amazon PrivateLink Guide.
Considerations for Amazon Agent Registry
Before you set up an interface endpoint for Amazon Agent Registry, review Considerations in the Amazon PrivateLink Guide.
Amazon Agent Registry provides two Amazon PrivateLink endpoints:
-
Control plane endpoint:
com.amazonaws.region.agent-registry-control— for registry and record management (create, update, delete operations, and so on). -
Data plane endpoint:
com.amazonaws.region.agent-registry— for record discovery and the registry MCP endpoint (search, InvokeRegistryMcp, and so on).
For a list of Amazon Regions in which Amazon Agent Registry interface endpoints are available, see Supported Amazon Regions. Interface endpoints are available in every Region where Amazon Agent Registry is available.
Important
The data plane APIs support both Amazon Signature Version 4 (SigV4) headers for authentication and Bearer Token (OAuth) authentication, and your endpoint policy is evaluated for both. A bearer-token caller carries no IAM identity, so it matches only a statement whose Principal is * — never a specific account, role, or user ARN. For bearer-token requests to succeed through the endpoint, an Allow statement with Principal set to * must cover the action and resource; a statement naming a specific Amazon identity does not admit them. To restrict bearer-token callers, use a Deny statement with Principal set to * scoped by Action and Resource — you cannot single out an individual bearer caller by principal, because bearer callers are indistinguishable at the principal level. A registry is authorized by either SigV4 or JWT according to its authorizerType, never both, so each registry only needs the statement form matching its own authorization mode.
Amazon Agent Registry supports Amazon IAM global condition context keys, including aws:SourceVpc and aws:SourceVpce. By default, you have full access to Amazon Agent Registry through the interface endpoint. To restrict that access, attach a custom endpoint policy to the interface endpoint or associate a security group with the endpoint network interfaces.
Create an interface endpoint for Amazon Agent Registry
You can create an interface endpoint for Amazon Agent Registry using either the Amazon VPC console or the Amazon Command Line Interface (Amazon CLI). For more information, see Create an interface endpoint in the Amazon PrivateLink Guide.
Create an interface endpoint for Amazon Agent Registry using the following service name format:
-
For control plane operations (registry and record management):
com.amazonaws.region.agent-registry-control(for example,com.amazonaws.us-east-1.agent-registry-control) -
For data plane operations (record discovery and the registry MCP endpoint):
com.amazonaws.region.agent-registry(for example,com.amazonaws.us-east-1.agent-registry)
If you enable private DNS for the interface endpoint, you can make API requests to Amazon Agent Registry using its default Regional DNS names:
-
Control plane:
agent-registry-control.region.api.aws(for example,agent-registry-control.us-east-1.api.aws) -
Data plane:
agent-registry.region.api.aws(for example,agent-registry.us-east-1.api.aws)
Create an endpoint policy for your interface endpoint
An endpoint policy is an IAM resource that you can attach to an interface endpoint. With the default endpoint policy, you have full access to Amazon Agent Registry through the interface endpoint. To restrict that access, attach a custom endpoint policy.
An endpoint policy specifies the following information:
-
The principals that can perform actions (Amazon accounts, IAM users, and IAM roles).
-
For the Amazon Agent Registry data plane endpoint, if a registry uses JWT authorization instead of Amazon Signature Version 4 (SigV4), set
Principalto * for any statement that authorizes JWT callers. With SigV4-based authentication, you can define thePrincipalas a specific Amazon identity.
-
-
The actions that can be performed.
-
The resources on which the actions can be performed.
For more information, see Control access to services using endpoint policies in the Amazon PrivateLink Guide.
The following examples show endpoint policies for each Amazon Agent Registry endpoint. Choose a tab to view the policy for the control plane, the data plane record-discovery operations, or the data plane MCP endpoint.