Setup

  • Go to integrations catalog in your envsecrets dashboard and choose “Vercel.”
  • Complete the Oauth procedure that begins and grant access to all of your Vercel application to which you wish to sync your secrets.

Activation

  1. Go to the integrations dashboard in your envsecrets organisation and under “Vercel” choose “Sync New Environment With Your Vercel Account.”
  2. In the page that opens, select your envsecrets project, environment and your Vercel application where you wish to push/sync your secrets.
  3. Complete and save the form.

Usage

Platform

  1. Navigate to the environment for which you activated the integration.
  2. Click on the “Sync” button.
  3. Choose the Vercel application to which you want to sync your secrets.
  4. Approve the sync.

CLI

  1. Use the command: envs sync --env [name-of-your-remote-environment]
  2. Choose the Vercel integration.

Once your secrets are synced, it is recommended you go to your Vercel application and validate the new values.

Reserved Environment Variables

The following secrets/variables cannot be forward-synced to Vercel because they are reserved for Vercel’s runtime:

  • AWS_REGION
  • AWS_DEFAULT_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_KEY
  • AWS_SECRET_ACCESS_KEY
  • AWS_EXECUTION_ENV
  • AWS_LAMBDA_LOG_GROUP_NAME
  • AWS_LAMBDA_LOG_STREAM_NAME
  • AWS_LAMBDA_FUNCTION_NAME
  • AWS_LAMBDA_FUNCTION_MEMORY_SIZE
  • AWS_LAMBDA_FUNCTION_VERSION
  • AWS_SESSION_TOKEN
  • NOW_REGION
  • TZ
  • LAMBDA_TASK_ROOT
  • LAMBDA_RUNTIME_DIR