Newshot

Vercel Connect adds a managed AWS connector

Summary

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. Get started Create an AWS connector from the dashboard or Vercel CLI and attach it to your project: type: embedded-entry-inline id: 4bsaFgBxBMpNCWiOg7j2mS Pass the connector's credentials provider to any AWS client. This example uses Amazon Bedrock with the Vercel AI SDK. type: embedded-entry-inline id: 7vVcUDgXAvnKzSZjETGqiS Read…

Original text(via Vercel Blog)
题图
题图

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 production
      

Pass 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.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗