EnvironmentVariables

August 5, 2026 ยท View on GitHub

Example Usage

import { EnvironmentVariables } from "@vercel/sdk/models/createprojectregion.js";

let value: EnvironmentVariables = {
  key: "<key>",
  target: "production",
  value: "<value>",
};

Fields

FieldTypeRequiredDescription
keystring:heavy_check_mark:Name of the ENV variable
targetmodels.CreateProjectTarget:heavy_check_mark:Deployment Target or Targets in which the ENV variable will be used
gitBranchstring:heavy_minus_sign:If defined, the git branch of the environment variable (must have target=preview)
typemodels.CreateProjectType:heavy_minus_sign:Type of the ENV variable
valuestring:heavy_check_mark:Value for the ENV variable