[KongchangAI]
· 2 min read· 1,059 words

Vercel Connect Adds Managed AWS Connector: Keyless Access to Cloud Services

Vercel Connect Adds Managed AWS Connector: Keyless Access to Cloud Services

Vercel Connect launches a managed AWS connector that uses OIDC-to-temporary-credential exchange for keyless AWS access.

Vercel Connect has launched a managed AWS connector that lets applications and AI Agents on Vercel call Amazon Bedrock, S3, DynamoDB, Aurora, and other services without storing AWS access keys in code or environment variables. Its core is identity federation: at runtime, the app's OIDC identity is exchanged for short-term AWS STS credentials, while permissions are controlled through IAM roles — up to 100 per connector — enabling differentiated authorization per app or Agent. The connector also supports inbound events: after adding SNS topics to the allowlist, messages are forwarded to projects following subscription confirmation and signature verification, completing bidirectional communication. Onboarding is lightweight — two CLI steps to create and attach a connector, with the credential provider passed directly to any AWS client. The article notes that this capability absorbs boilerplate proxy logic into the platform and reduces privilege escalation risk, though its scope is currently limited to the AWS ecosystem.

Vercel Connect has officially launched a managed AWS connector, enabling applications and AI Agents deployed on Vercel to directly call AWS services such as Amazon Bedrock, S3, DynamoDB, and Aurora — without storing AWS access keys in code or environment variables.

Vercel Connect adds managed AWS connector

Saying Goodbye to Long-Term Keys: OIDC for Temporary Credentials

The core mechanism of this connector is built on identity federation. At runtime, an application or Agent exchanges its OIDC identity for temporary AWS STS credentials. Because these credentials are short-lived, developers no longer need to maintain a key rotation process, and the risk of long-term key leakage is eliminated.

Access control is implemented through IAM roles. Each connector can be bound to up to 100 IAM roles, meaning teams can assign differentiated permission boundaries to different applications or Agents — for example, letting one Agent access only specific Bedrock models while another service has only S3 read/write permissions. This granularity of on-demand authorization is far more precise than hardcoding a single set of universal keys in code.

From an engineering practice perspective, short-lived credentials paired with IAM role scoping shift the security responsibility from "managing keys well" to "configuring permissions well" — the latter is closer to declarative configuration and easier to audit.

OIDC Identity Federation and STS AssumeRoleWithWebIdentity

OIDC (OpenID Connect) is an identity layer protocol built on top of OAuth 2.0 that allows systems to assert the identity of a caller via a verifiable ID Token. Vercel Connect leverages exactly this mechanism: the OIDC Token issued by the platform is trusted by AWS, and AWS STS uses the AssumeRoleWithWebIdentity API to validate the token's signature, issuer, audience, and expiration time. Once validation passes, a set of short-term credentials is issued (typically valid for tens of minutes to several hours by default).

To enable this chain on the AWS side, you need to create an Identity Provider and declare sts:AssumeRoleWithWebIdentity in the IAM role's trust policy, along with Condition constraints on the token's Issuer and Audience to prevent tokens from other platforms from impersonating the role. STS temporary credentials consist of three parts: AccessKeyId, SecretAccessKey, and SessionToken — the SessionToken must be included alongside the other two, which is the most significant usage difference from long-term keys.

Events Can Also Flow In: SNS Subscription Support

Beyond letting applications proactively call AWS services, the AWS connector also supports event ingestion. After developers add an SNS topic to the connector's allowlist, Vercel Connect completes a subscription confirmation with SNS, and from then on every message is signature-verified before being forwarded to the corresponding project.

This signature verification step is critical. It ensures that events forwarded to the project genuinely originate from a trusted SNS topic rather than forged requests. For Agents or backend logic that need to respond to AWS-side events (such as object uploads or queue messages), this chain completes the bidirectional communication capability.

SNS Subscription Confirmation and Message Signature Verification

When a new HTTP/HTTPS subscription endpoint is added, Amazon SNS first sends a SubscriptionConfirmation type message containing a SubscribeURL. The receiving end must actively visit that URL to complete the subscription; otherwise, no subsequent notifications will be received — this is the technical meaning of "subscription confirmation" mentioned in the article.

For Notification type messages, SNS includes a SigningCertURL and Signature in the message body, which the receiver can use to verify that the message was indeed sent by AWS and has not been tampered with. Two points require attention during verification: first, confirm that the SigningCertURL domain belongs to a legitimate AWS domain (to prevent SSRF and forged certificates); second, check whether the TopicArn is in the allowlist. Additionally, SNS has retry and timeout policies for HTTP endpoints — endpoints should return 2xx quickly before asynchronously processing business logic, avoiding duplicate delivery triggered by excessively long processing times.

Getting Started: Two CLI Steps to Connect

The onboarding process is designed to be quite lightweight. Developers can create a connector via the console or Vercel CLI, then attach it to a specific project and environment:

vercel connect create aws --name my-aws
vercel connect attach aws/my-aws --project my-app --environment production

At the code level, you simply pass the connector's credential provider to any AWS client. The official example demonstrates using Amazon Bedrock with the Vercel AI SDK:

import { createAmazonBedrock } from '@ai-sdk/amazon-bedrock';
import { connectAwsCredentialsProvider } from '@vercel/connect/aws';

const bedrock = createAmazonBedrock({
  region: 'us-east-1',
  credentialProvider: connectAwsCredentialsProvider('aws/my-aws'),
});

The credential provider fetches short-term AWS credentials from the connector at runtime, so callers don't need to be aware of the underlying STS exchange details.

What This Means for AI Agent Deployment

Vercel has been steadily ramping up its AI application hosting capabilities in recent years, and this AWS connector fills a critical gap in cloud resource access. Previously, running an Agent on Vercel that needed to call model services like Bedrock often meant stuffing keys into environment variables or building a proxy layer to exchange for temporary credentials. The managed connector absorbs this boilerplate logic into the platform itself.

For multi-tenant or team collaboration scenarios, the design of partitioning permissions by IAM role also reduces the risk of privilege escalation. However, it's worth noting that the connector's scope is currently focused on the AWS ecosystem — cross-cloud scenarios still require self-managed credential handling.

Overall, this capability gives applications and Agents on Vercel a secure access channel to AWS services while maintaining a keyless architecture, and the addition of event subscriptions makes bidirectional integration possible.

What Keyless Architecture Means

"Keyless architecture" (Secretless / Keyless) doesn't mean credentials aren't needed to access cloud resources — it means long-term static credentials no longer land in code repositories, build artifacts, or environment variables. Instead, short-term credentials are dynamically exchanged at runtime based on workload identity (such as OIDC tokens, instance metadata, or service accounts).

The value of this pattern is that it compresses the "exposure window after credential leakage" from indefinite to minutes, while eliminating the operational burden of key rotation. However, it's not without prerequisites: trust relationships must be pre-configured on the target cloud side, and the runtime environment must be able to reliably provide verifiable identity assertions. For cross-cloud or hybrid deployment scenarios, each cloud provider's trust policy needs to be configured separately — which is why the article notes that "cross-cloud scenarios still require self-managed handling."

#Vercel Connect#AWS connector#OIDC#STS temporary credentials#keyless architecture#IAM roles#Amazon Bedrock#SNS subscription
Share:

Related articles