Docs
Reference

Vercel shared variables

Team-wide variables on Vercel, reaching every project they are linked to.

Team-wide variables on Vercel, reaching every project they are linked to.

The connection

WhatThis provider
VendorVercel
Keyvercel-shared-env
Availabilityavailable. You can connect it today.
Credential penv holdsvercel-token
Values read backyes
Activationon-next-deploy

What it moves

DirectionWhat it does
importReads names and values out of the store into penv.
exportWrites names and values from penv into the store.

When a written value goes live

on-next-deploy. A new value waits there and arrives with your next deploy.

What happens to a name that exists

DirectionPolicies you can pick
importskip_existing, new_version, fail
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

How you connect

You paste a credential you already hold. penv seals it and never shows it again.

FieldLabelKindRequiredWhat it is
tokenAccess tokensecret, masked here and sealedyes

What the connection asks for

Fixed when you connect, and shared by every mapping on it.

FieldLabelKindRequiredAdvancedWhat it is
teamIdTeam IDtextnoyesOnly for a team account. Leave empty to use the token's own scope.

What a mapping asks for

Answered once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
targetDeploymentschoiceyesnoWhich deployments read these variables. A new one reaches a project once you link it in Vercel. One of Production, Preview, Development.

Permissions it needs

penv probes for these when it verifies the connection.

PermissionDirectionsBlockingWithout it
user:readevery directionyesWe cannot confirm which Vercel account this token belongs to.
projects:readevery directionyesPreview cannot confirm the token reaches this account.
shared-env:readimportyesImport cannot read the team's variables.
shared-env:writeexportyesExport cannot write anything.