Vercel Connect now has a managed AWS connector. Apps and agents on Vercel can call AWS services like Amazon Bedrock, S3, DynamoDB, and Aurora with short-lived credentials, without storing an AWS access key.
At runtime, apps and agents exchange their OIDC identity for temporary AWS STS credentials, with no keys to rotate. Credentials are scoped to IAM roles, with up to 100 roles per connector, so you can set permissions per app or agent.
AWS connectors can also receive events. Add an SNS topic to a connector's allowlist, and Vercel Connect confirms the subscription with SNS once, then verifies the signature on each message before forwarding it to your project.
Copy link to headingGet started
Create an AWS connector from the dashboard or Vercel CLI and attach it to your project:
vercel connect create aws --name my-aws vercel connect attach aws/my-aws --project my-app --environment productionPass the connector's credentials provider to any AWS client. This example uses 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'),});Get short-lived AWS credentials from the connector at runtime
Read the Vercel Connect documentation to set up your first AWS connector.