Add S3 uploads to Vercel apps without storing long-lived AWS keys
A Vercel app can accept a file upload and store the object in Amazon S3 without putting a long-lived AWS access key in source code or deployment variables. Vercel’s Amazon S3 Marketplace integration now connects an S3 resource to a Vercel project, supplies connection details as environment variables, and authenticates with short-lived OIDC credentials. The practical work remains yours: authorize…
A Vercel application can upload files to Amazon S3 without storing long-lived AWS access keys. Vercel's Amazon S3 Marketplace integration connects an S3 resource to a Vercel project, provides connection details as environment variables, and authenticates with short-lived OIDC credentials. The team is responsible for authorizing the uploader, selecting the object key, validating the file, and deciding who can read it.
The guide covers the setup boundary, server-side upload path, and security decisions after handling credentials. This is intended for teams adding file uploads to a Vercel-hosted application, particularly those already using AWS and wanting storage flow near project configuration.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.