Penv Cloud
Start free
Docs
Reference

Vercel

Move environment variables to and from a Vercel project.

Move environment variables to and from a Vercel project.

Connection

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

Directions

DirectionWhat it does
importWe read names and values out of the store into your environment.
exportWe write names and values from your environment into the store.

Activation

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

Conflict policies

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

How syncs work says what each one does.

Connect

Paste a credential from the vendor. We seal it and never show it again.

FieldLabelKindRequiredWhat it is
tokenAccess tokensecret; we mask it here and seal ityes

Connection fields

You set these when you connect. Every mapping on the connection shares them.

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

Mapping fields

You answer these once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
projectIdProjecttextyesnoThe project whose variables this environment maps onto.
targetDeploymentschoiceyesyesWhich deployments read these variables. One of Production, Preview, Development. Starts at production.
gitBranchGit branchtextnoyesPreview only: pin the variables to one branch.
customEnvironmentIdCustom environmenttextnoyesAdds this environment to the deployments above; one variable serves both. Inside one, VERCEL_ENV reads preview and the name is in VERCEL_TARGET_ENV.

Required permissions

We probe for these when we verify the connection.

PermissionDirectionsBlockingWithout it
user:readevery directionyesWe cannot confirm which Vercel account this token belongs to.
projects:readevery directionyesPreview cannot list the project's variable names.
env:readimportyesImport cannot read variable values.
env:writeexportyesExport cannot write anything.